启动scrapy项目时出错

时间:2015-04-01 11:14:39

标签: python-2.7 scrapy scrapy-spider

任何时候我尝试scrapy crawl [name]我都会收到以下错误

Traceback (most recent call last):
File "/usr/local/bin/scrapy", line 5, in <module>
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2793, in <module>
working_set.require(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 673, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Scrapy==0.24.5  

我不确定我错过了什么,我已经尝试过其他类似问题的建议,但没有任何效果!任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:0)

管理解决问题。出于某种原因pip install Scrapy没有完全安装,所以我从网站上下载了tarball,然后按照here的说明进行操作,现在可以了!