No recent searches
Popular Articles
Sorry! nothing found for
Posted about 7 years ago by thundersplash
I'm getting an error after Step 9 of deployment...details is given below...it seems like the problem is due to inability of finding urllib.request! Please help to overcome the situation. What should I do now?
Step 9/12 : RUN sudo -u nobody -E PYTHONUSERBASE=$PYTHONUSERBASE pip install
--user --no-cache-dir -r /app/requirements.txt
---> Running in d668ec425da3
Collecting urllib.request (from -r /app/requirements.txt (line 1))
←[91m Could not find a version that satisfies the requirement urllib.request (f
rom -r /app/requirements.txt (line 1)) (from versions: )
←[0m
←[91mNo matching distribution found for urllib.request (from -r /app/requirement
s.txt (line 1))
{"message": "The command '/bin/sh -c sudo -u nobody -E PYTHONUSERBASE=$PYTHONUSE
RBASE pip install --user --no-cache-dir -r /app/requirements.txt' returned a
non-zero code: 1", "details": {"message": "The command '/bin/sh -c sudo -u nobo
dy -E PYTHONUSERBASE=$PYTHONUSERBASE pip install --user --no-cache-dir -r /a
pp/requirements.txt' returned a non-zero code: 1", "code": 1}, "error": "require
ments_error"}
{"status": "error", "message": "Requirements error"}
0 Votes
nestor posted about 7 years ago Admin Best Answer
Please check this solution: https://support.scrapinghub.com/support/solutions/articles/22000200400-deploying-python-dependencies-for-your-projects-in-scrapy-cloud to see how to set up your requirements.txt file
3 Comments
nestor posted about 7 years ago Admin Answer
thundersplash posted about 7 years ago
nestor posted about 7 years ago Admin
What does your requirements.txt look like?
Login to post a comment
People who like this
This post will be deleted permanently. Are you sure?
I'm getting an error after Step 9 of deployment...details is given below...it seems like the problem is due to inability of finding urllib.request! Please help to overcome the situation. What should I do now?
Step 9/12 : RUN sudo -u nobody -E PYTHONUSERBASE=$PYTHONUSERBASE pip install
--user --no-cache-dir -r /app/requirements.txt
---> Running in d668ec425da3
Collecting urllib.request (from -r /app/requirements.txt (line 1))
←[91m Could not find a version that satisfies the requirement urllib.request (f
rom -r /app/requirements.txt (line 1)) (from versions: )
←[0m
←[91mNo matching distribution found for urllib.request (from -r /app/requirement
s.txt (line 1))
←[0m
{"message": "The command '/bin/sh -c sudo -u nobody -E PYTHONUSERBASE=$PYTHONUSE
RBASE pip install --user --no-cache-dir -r /app/requirements.txt' returned a
non-zero code: 1", "details": {"message": "The command '/bin/sh -c sudo -u nobo
dy -E PYTHONUSERBASE=$PYTHONUSERBASE pip install --user --no-cache-dir -r /a
pp/requirements.txt' returned a non-zero code: 1", "code": 1}, "error": "require
ments_error"}
{"status": "error", "message": "Requirements error"}
0 Votes
nestor posted about 7 years ago Admin Best Answer
Please check this solution: https://support.scrapinghub.com/support/solutions/articles/22000200400-deploying-python-dependencies-for-your-projects-in-scrapy-cloud to see how to set up your requirements.txt file
0 Votes
3 Comments
nestor posted about 7 years ago Admin Answer
Please check this solution: https://support.scrapinghub.com/support/solutions/articles/22000200400-deploying-python-dependencies-for-your-projects-in-scrapy-cloud to see how to set up your requirements.txt file
0 Votes
thundersplash posted about 7 years ago
0 Votes
nestor posted about 7 years ago Admin
What does your requirements.txt look like?
0 Votes
Login to post a comment