安装scrapy库报错Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-6tq4pm2l/Tw

安装scrapy库报错
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-6tq4pm2l/Twisted/

百度的方法:
python3 -m pip install --upgrade --force pip --user
pip install setuptools==33.1.1

升级Pip后还报错
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('incremental>=16.10.1')

 

原因,还缺少其他的库,按照报错,再升级或者安装其他pyhon库

再次升级'incremental库
pip install incremental --user

再次运行

pip3 install scrapy --user
成功安装
 

你可能感兴趣的:(python)