Scrapy error “ImportError: No module named spiders”

While I was working on migrating some scrapy spiders from project to another one, I was getting the following error when I try to run any scrapy shell


ImportError: No module named spiders

I searched a bit, and found the solution, which is simply add __init__.py file to your spiders folder.

Ref.

https://groups.google.com/forum/?fromgroups=#!topic/scrapy-users/N_XFF-3GqQ0

Leave a comment

 

WP-SpamFree by Pole Position Marketing