Skip to content Skip to sidebar Skip to footer

Importerror: No Module Named 'spiders'

On the command line I'm executing the following simple attempt to invoke scrapy: scrapy version I get the following error: $ scrapy version Traceback (most recent call last): Fi

Solution 1:

This error was caused by my settings.py file, where the I had the following:

SPIDER_MODULES = ['spiders']

While it is in the default project provided by scrapy, I had moved that module. Values in that list need to be fully qualified module names: even trivial executions of scrapy will load the settings file, and thus try to import modules from your project. If it can find a settings file, it will need to be correct.

Post a Comment for "Importerror: No Module Named 'spiders'"