Bonjour à tous
J’était en 4.2.18, je pouvais sans problème installer des modules python avec pip
Cela n’a surement aucun rapport, mais je préfères donner tous l’info
J’ai fait l’upgrade 4.2.20, puis une restauration de ma 4.2.18
mainenant pour 2 modules différents, j’ai toujours l’erreur :
sudo pip install ez_setup
Collecting ez_setup
Downloading ez_setup-0.9.tar.gz (6.6 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
/usr/local/lib/python3.7/dist-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'zip_safe'
warnings.warn(msg)
/usr/local/lib/python3.7/dist-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'egg_info'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
jeedom@Jeedom:~$
avez vous constatez ce problème ?
j’ai regardé sur google
j’ai fait la maj du pip, et du setuptool comme certains le conseil mais pas mieux
pip 22.1.2
setuptools 62.6.0