j'ai un souci pour installer la dernière version de Python 3 sur Linux Mint 18.3 :
j'ai téléchargé la dernière version de Python 3 (Python-3.9.0.tar.xz) sur le site officiel
ensuite dans l'invite de commandes :
tar xf Python-3.9.0.tar.xz # pour "dézipper" l'archive
cd /Python-3.9.0 # je vais dans le nouveau dossier
./configure
make
sudo make install
les trois dernières commandes, c'est des instructions que j'ai lues. configure et make marchent bien, sans message d'erreur, mais pas sudo make install
j'ai le message d'erreur suivant :
Code : Tout sélectionner
"File "/home/maxime/Python-3.9.0/Lib/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/maxime/Python-3.9.0/python', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmpulc0fv9q/setuptools-49.2.1-py3-none-any.whl\', \'/tmp/tmpulc0fv9q/pip-20.2.3-py2.py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmpulc0fv9q\', \'--root\', \'/\', \'--upgrade\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
Makefile:1254: recipe for target 'install' failed
make: *** [install] Error 1"je suis bien embarrassé
merci à vous.
