pip安装软件时出现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*的解决方案

  1. 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/

  2. 解决方案

    1.  
      sudo python -m pip install --upgrade --force pip
    2.  
      sudo pip install setuptools==33.1.1
 
posted @ 2021-01-18 21:10  Οo白麒麟оΟ  阅读(2206)  评论(0编辑  收藏  举报