pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案


转:https://blog.csdn.net/u011092188/article/details/64123561

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM