I’m looking in detail the installation documentation (by the way : bravo for the quality of the doc), if I’m understand correctly nginx — Indico 3.1 documentation you do not use the python 3.9 from the linux distribution, instead you’re using another version from pyenv
Why is that ? How can you keep up update of the python version ? Why don’t use the python 3.9 from the OS ?
If I ask it’s because it’s not very convenient for me to not using the python from the OS, not only because I manage my server with puppet, but also because
indico@indico2:~$ pyenv install 3.9.10
Downloading Python-3.9.10.tar.xz...
-> https://www.python.org/ftp/python/3.9.10/Python-3.9.10.tar.xz
Installing Python-3.9.10...
BUILD FAILED (Debian 11 using python-build 20180424)
Inspect or clean up the working tree at /tmp/python-build.20220126195252.8737
Results logged to /tmp/python-build.20220126195252.8737.log
Last 10 log lines:
File "/tmp/python-build.20220126195252.8737/Python-3.9.10/Lib/ensurepip/__init__.py", line 206, in _main
return _bootstrap(
File "/tmp/python-build.20220126195252.8737/Python-3.9.10/Lib/ensurepip/__init__.py", line 125, in _bootstrap
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/tmp/python-build.20220126195252.8737/Python-3.9.10/Lib/ensurepip/__init__.py", line 34, in _run_pip
return subprocess.run([sys.executable, "-c", code], check=True).returncode
File "/tmp/python-build.20220126195252.8737/Python-3.9.10/Lib/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/tmp/python-build.20220126195252.8737/Python-3.9.10/python', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmpugtq907p/setuptools-58.1.0-py3-none-any.whl\', \'/tmp/tmpugtq907p/pip-21.2.4-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmpugtq907p\', \'--root\', \'/\', \'--upgrade\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
make: *** [Makefile:1264: install] Error 1
indico@indico2:~$
Regards