Ubuntu16.04 pip安装出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-7
2018-07-21 10:32
369 查看
今天装scrapy遇到了这个问题,在网上搜索了一下解决方案,不过方案时间较远,更改了一下,完美解决。
第一步:sudo python3 -m pip install --upgrade --force pip
第二步:sudo pip install setuptools==40.0.0
这时执行sudo pip install scrapy 会出现
pyasn1-modules 0.2.2 has requirement pyasn1<0.5.0,>=0.4.1, but you'll have pyasn1 0.1.9 which is incompatible.
不怕,按照上面的安装步骤继续
sudo pip install pyasn1-modules==0.2.2
再次执行 sudo pip install scrapy
成功。
相关文章推荐
- ubuntu 安装mysql 错误Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lmPxC
- 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*的解决方案
- python2.7 安装channels出现Command"python setup.py egg_info" failed with error code 1 in /tmp/pip-build-y
- 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*的解决方案
- Python使用pip install psycopg2安装psycopg2包出现python setup.py egg_info failed with error code 1 in /tmp/pip-build-YtLeN3/psycopg2错误处理
- 出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*解决办法
- pip安装jupyter时报错Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Fd4ir0/
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-wttdx0g1/secp256k1/
- python pip install 报错TypeError: unsupported operand type(s) for -=: 'Retry' and 'int' Command "python setup.py egg_info" failed with error code 1 in
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vqeCP7/Django/
- pip安装出现Command "python setup.py egg_info" failed with error code 1 的解决方案
- pip安装icu失败:Command "python setup.py egg_info" failed with error code 1 in
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-o2julgbe/xgboost/
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-b2PICB/unroll/
- 【已解决】Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-GFFuD_/ipython/
- ubuntu下安装pip install mysqlclient 报错 command "python setup.py egg_info" failed with error.....解决方案
- pip安装出现Command "python setup.py egg_info" failed with error code 1 的解决方案