No recent searches
Popular Articles
Sorry! nothing found for
Posted almost 5 years ago by kp046
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.
0 Votes
nestor posted almost 5 years ago Admin Best 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
2 Comments
Test Test posted about 3 years ago
I have the exact same issue, how did you end up solving this? I'm not sure what to add to my requirements.txt :(
nestor posted almost 5 years ago Admin Answer
Login to post a comment
People who like this
This post will be deleted permanently. Are you sure?
Hi,
when I run my spider locally it runs without any problems. But on the scrapycloud I got the following error Message:
Any idea what I have to change in my settings or code?
thanks.
0 Votes
nestor posted almost 5 years ago Admin Best 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
0 Votes
2 Comments
Test Test posted about 3 years ago
I have the exact same issue, how did you end up solving this? I'm not sure what to add to my requirements.txt :(
0 Votes
nestor posted almost 5 years ago Admin 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
0 Votes
Login to post a comment