Start a new topic
Answered

ImportError: No module named scrapy_user_agents.middlewares

Hi,

when I run my spider locally it runs without any problems. But on the scrapycloud I got the following error Message:

ImportError: No module named scrapy_user_agents.middlewares

Any idea what I have to change in my settings or code? 


thanks.


Best Answer
1 Comment

Answer

Hi, You would need to add the library to your requirements.txt as shown here:  https://support.scrapinghub.com/support/solutions/articles/22000200400-deploying-python-dependencies-for-your-projects-in-scrapy-cloud 

Login to post a comment