解决Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build*错误

技术分享 2022-11-22

pip安装软件时出现:

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-*(其中×与要安装的软件有关)

比如安装pip install pyparsing==1.5.7出现以下错误:

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-WImLdR/pyparsing/

解决方案:

sudo python -m pip install --upgrade --force pip
sudo pip install setuptools==40.8.0

评论 (0)

发表评论

最多500字符

验证码

暂无评论

成为第一个评论的人吧!