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

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

本文为原创文章,转载请注明出处。

原文链接:https://850406.xyz/post/解决command-python-setup-py-egg_info-failed-with-error-code-1-in-tmp-pip-build-错误

评论(0)

还没有评论,来抢沙发吧~

验证码