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

2021/6/27 20:22:37

本文主要是介绍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==33.1.1



这篇关于pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程