Creating a spider using Scrapy, Spider generation error.

Posted by Nacari on Stack Overflow See other posts from Stack Overflow or by Nacari
Published on 2010-05-16T04:52:40Z Indexed on 2010/05/16 5:00 UTC
Read the original article Hit count: 408

Filed under:
|
|
|
|

I just downloaded Scrapy (web crawler) on Windows 32 and have just created a new project folder using the "scrapy-ctl.py startproject dmoz" command in dos. I then proceeded to created the first spider using the command:

scrapy-ctl.py genspider myspider myspdier-domain.com

but it did not work and returns the error:

Error running: scrapy-ctl.py genspider, Cannot find project settings module in python path: scrapy_settings.

I know I have the path set right (to python26/scripts), but I am having difficulty figuring out what the problem is. I am new to both scrapy and python so there is a good possibility that I have failled to do something important.

Also, I have been using eclipse with the Pydev plugin to edit the code if that might cause some problems.

© Stack Overflow or respective owner

Related posts about python

Related posts about scrapy