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