争怎路由网:是一个主要分享无线路由器安装设置经验的网站,汇总WiFi常见问题的解决方法。

ubuntu 16.04安装scrapy一个花了我5小时的bug最终处理

时间:2024/7/9作者:未知来源:争怎路由网人气:

出错信息:
Complete output from command python setup.py egg_info:
Couldn't find index page for 'incremental' (maybe misspelled?)
No local packages or download links found for incremental>=16.10.1
Traceback (most recent call last):
File"", line 1, in
File"/tmp/pip-build-wIgIGQ/Twisted/setup.py", line 21, in
setuptools.setup(**_setup["getSetupArgs"]())
File"/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File"build/bdist.linux-x86_64/egg/setuptools/dist.py", line 260, in __init__
File"build/bdist.linux-x86_64/egg/setuptools/dist.py", line 284, in fetch_build_eggs
File"build/bdist.linux-x86_64/egg/pkg_resources.py", line 563, in resolve
File"build/bdist.linux-x86_64/egg/pkg_resources.py", line 799, in best_match
File"build/bdist.linux-x86_64/egg/pkg_resources.py", line 811, in obtain
File"build/bdist.linux-x86_64/egg/setuptools/dist.py", line 327, in fetch_build_egg
File"build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 434, in easy_install
File"build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'
Command"python setup.py egg_info" failed with error code 1 in /tmp/pip-build-wIgIGQ/Twisted/
 
最后解决办法:
sudo -H pip install --upgrade setuptools 或
sudo -H pip install -U setuptools
再:
sudo -H pip install scrapy
 
尝试过的解决办法:
1、sudo -H pip install incremental==16.10.1
2、pip install --upgrade pip
3、换豆瓣原  sudo -H pip install scrapy -i https://pypi.douban.com/simple/


关键词:ubuntu 16.04安装scrapy一个花了我5小时的bug最终处理




Copyright © 2012-2018 争怎路由网(http://www.zhengzen.com) .All Rights Reserved 网站地图 友情链接

免责声明:本站资源均来自互联网收集 如有侵犯到您利益的地方请及时联系管理删除,敬请见谅!

QQ:1006262270   邮箱:kfyvi376850063@126.com   手机版