8
解决 python setup.py egg_info did not run successfully 的问题
source link: https://xugaoxiang.com/2023/03/15/python-setup-py-egg_info-did-not-run-successfully/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
在安装一些依赖库时,碰到了问题,错误提示如下
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
exit code: 1
-
检查
pip
是否版本过老pip install -U pip
-
检查
setuptools
是否安装pip install -U setuptools
-
检查
ez_setup
是否安装pip install ez_setup
-
如果上述方法还未解决,可以试着去搜索对应
python
版本的whl
文件,然后手动安装需要的库# 查看python版本 python -V # 安装 whl pip install *.whl
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK