pip: 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)")'

Fedora 31

  • pip version: 19.1.1
  • Python version: 3.7.5
  • OS: Fedora 31

I was trying to install flask-bcrypt

$ pip install flask-bcrypt
output:
Collecting flask-bcrypt
  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/flask-bcrypt/
  WARNING: Retrying (Retry(total=3, 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/flask-bcrypt/
  WARNING: Retrying (Retry(total=2, 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/flask-bcrypt/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')"))': /simple/flask-bcrypt/
  WARNING: Retrying (Retry(total=0, 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/flask-bcrypt/
  ERROR: Could not find a version that satisfies the requirement flask-bcrypt (from versions: none)
ERROR: No matching distribution found for flask-bcrypt

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 3
  • Comments: 17 (5 by maintainers)

Most upvoted comments

I think maybe problem solved I use this site https://cocalc.com/projects/e020ac89-1095-4f90-ba7a-554ed8dfae48/files/Welcome to CoCalc.ipynb?anonymous=true&session=default , and cannot pip install before long , I try my jupyternotebook is ok , it display Collecting sagemath Downloading https://files.pythonhosted.org/packages/6d/33/a1d37ab714eb48415813ca2443dbc52d1089d6f344ba68ac7643cad9c9aa/sagemath-1.2.8.tar.gz Collecting cython>=0.26 Downloading https://files.pythonhosted.org/packages/ca/5d/7344d00b55f060243cf4f04c2fcee8c245a0af2b0bc236fc6dbb5021dcd6/Cython-0.29.14-cp36-cp36m-win_amd64.whl (1.7MB) Building wheels for collected packages: sagemath Building wheel for sagemath (setup.py): started Building wheel for sagemath (setup.py): finished with status ‘done’ Created wheel for sagemath: filename=sagemath-1.2.8-cp36-none-any.whl size=2346 sha256=40ef29e44ef4c6c282c083498a3dcb32e37613fcd8d4d56c60aa0dc3916c037d Stored in directory: C:\Users\User\AppData\Local\pip\Cache\wheels\0c\ba\d1\3787929cc9b8bf92a26435333e19ce27078a8841f5cb22ae7c Successfully built sagemath Installing collected packages: cython, sagemath Successfully installed cython-0.29.14 sagemath-1.2.8

BTW, I am not native language of English , if something wrong in English , please forgive

I had a similar error and it worked after a restart of iterm. No idea what it was.

@lin-xiaoyun No worries, I am glad you got it working.