Page 138
When I ran the script "scrapy crawl easy -s CLOSESPIDER_ITEMCOUNT=90", I got this :
root@dev:~/book/ch08/properties# scrapy crawl easy -s CLOSESPIDER_ITEMCOUNT=90
Traceback (most recent call last):
File "/usr/local/bin/scrapy", line 11, in
sys.exit(execute())
File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 109, in execute
settings = get_project_settings()
File "/usr/local/lib/python2.7/dist-packages/scrapy/utils/project.py", line 60, in get_project_settings
settings.setmodule(settings_modulepath, priority='project')
File "/usr/local/lib/python2.7/dist-packages/scrapy/settings/__init_\.py", line 108, in setmodule
module = importmodule(module)
File "/usr/lib/python2.7/importlib/__init_\.py", line 37, in importmodule
__import_\(name)
ImportError: No module named properties.settings
The file properties.settings was really in the directory, I don't know why it said the file can't be found.
Page 138 When I ran the script "scrapy crawl easy -s CLOSESPIDER_ITEMCOUNT=90", I got this :
The file properties.settings was really in the directory, I don't know why it said the file can't be found.
can you help me? thanks -John