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"}
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
What does your requirements.txt look like?
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))
←[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"}
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
- Oldest First
- Popular
- Newest First
Sorted by Newest Firstnestor
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
thundersplash
nestor
What does your requirements.txt look like?
-
Unable to select Scrapy project in GitHub
-
ScrapyCloud can't call spider?
-
Unhandled error in Deferred
-
Item API - Filtering
-
newbie to web scraping but need data from zillow
-
ValueError: Invalid control character
-
Cancelling account
-
Best Practices
-
Beautifulsoup with ScrapingHub
-
Delete a project in ScrapingHub
See all 460 topics