0

While I was installing requirements.txt using: pip install -r requirements.txt. I got this error

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/docutils/
ERROR: Could not find a version that satisfies the requirement docutils==0.16 (from versions: none)
ERROR: No matching distribution found for docutils==0.16

I tried downloading docutils alone using the command pip install docutils but it is still showing the same error. Please suggest some solutions.

FlyingTeller
  • 17,638
  • 3
  • 38
  • 53
Anu
  • 1
  • 2
  • 1
    Please don't post (blurry and incomplete) pictures of a screen with an error message. Copy/paste the error message into your question, which makes it much more readable – FlyingTeller Aug 05 '22 at 09:14
  • 1
    https://stackoverflow.com/questions/43298872/how-to-solve-readtimeouterror-httpsconnectionpoolhost-pypi-python-org-port – FlyingTeller Aug 05 '22 at 09:16
  • This is a networking related issue. Have you tried `pip install --default-timeout=100 docutils`? – FlyingTeller Aug 05 '22 at 11:06
  • Yes ,I have tried this but it is still showing same error .I also tried downloading other modules like django with pip but it still showing this same error. – Anu Aug 05 '22 at 11:36
  • Are you in some kind of restricted network like a company or similar? – FlyingTeller Aug 05 '22 at 11:38
  • Yes, I am trying to install this in company's laptop. – Anu Aug 05 '22 at 12:10
  • 1
    You probably need to make some settings like proxy or similar. You should make a request with your IT department, because as I said, this is a networking related issue and your IT department are the ones that can give info about your companies network – FlyingTeller Aug 05 '22 at 12:23
  • I connected with other network and it worked. – Anu Aug 07 '22 at 05:49

0 Answers0