更新setuptools和pip时报错Command "python setup.py egg_info" failed with error code 1 in /
在安装一个包时报了上述错误,网上的解决方案都是更新setuptools和pip。
pip install --upgrade setuptools
python -m pip install --upgrade pip
但是我在更新setuptools和pip的时候也报同样的错。
==========解决方案=========
重新安装pip
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py