[英]pkg_resources.DistributionNotFound: Scrapy==1.3.0
I am running scrapy on my AWS-EC2 instance. 我在AWS-EC2实例上运行不正常。 But it is throwing following error.
但是它引发以下错误。
$ scrapy
Traceback (most recent call last):
File "/usr/local/bin/scrapy", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3020, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 614, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 920, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 807, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Scrapy==1.3.0
I searched and found this link But solution is not working for me. 我搜索并找到此链接,但是解决方案不适用于我。 Still same error .
还是一样的错误。 Please help.
请帮忙。
As per the same link that you have mentioned. 按照您提到的相同链接。 I recommend you to try with
sudo
我建议您尝试使用
sudo
sudo easy_install --upgrade scrapy
or: 要么:
sudo pip install --upgrade scrapy
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.