scrapyd1.0.1安装错误


当我在windows安装scrapyd,开始使用easy_install的scrapyd命令,使用python scrapyd命令在C:/ Python27/Scripts下,报错,路径错误:不是一个目录site-packages/scrapyd-1.0.1-py2.7.egg/ scrapyd/ txapp。查找scrapyd-1.0.1-py2.7.egg一个scrapyd内解压缩文件,将其复制到site-packages/scrapyd-1.0.1-py2.7.egg/scrapyd/目录下,运行python再次scrapyd命令出现如下错误:
C:\Python27\Scripts>python scrapyd
Traceback (most recent call last):
File "scrapyd", line 5, in
pkg_resources.run_script('scrapyd==1.0.1', 'scrapyd')
File "C:\Python27\lib\site-packages\pkg_resources.py", line 489, in run_script


 self.require(requires)[0].run_script(script_name, ns)

File "C:\Python27\lib\site-packages\pkg_resources.py", line 1201, in run_scrip
t
raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'scrapyd'

搞不清楚这个为什么找不到命名为scrapyd的脚本,在Scripts下是有scrapyd脚本文件的。

scrapy

雷神38世 9 years, 9 months ago

Your Answer