Scrapy error “ImportError: No module named spiders”

S

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

About the author

Mahmoud M. Abdel-Fattah

Add comment

 

WP-SpamFree by Pole Position Marketing

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

Recent Comments