Requirements error - urllib.request

Posted about 7 years ago by thundersplash

Post a topic
Answered
t
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"}

0 Votes

nestor

nestor posted about 7 years ago Admin Best Answer

0 Votes


3 Comments

Sorted by
nestor

nestor posted about 7 years ago Admin Answer

0 Votes

t

thundersplash posted about 7 years ago

In my requirements.txt there is only urllib.request

0 Votes

nestor

nestor posted about 7 years ago Admin

What does your requirements.txt look like?

0 Votes

Login to post a comment