pip3安装软件时出现:Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-*(其中×与要安装的软件有关)
比如安装pip3 install pyqt5出现以下错误: Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-vh1u7ywv/pyqt5/
输入以下即可解决
python3 -m pip install --upgrade --force pip
pip3 install setuptools==33.1.1
如果使用pip 不是pip3则将代码后面3取消即可。