添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account 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)")' #7424 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)")' #7424 rayandas opened this issue Dec 3, 2019 · 17 comments 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

Hello. Is this still affecting you?

This is going to be related to a local network condition or configuration. A few questions that may lead the right direction:

  • Are you able to download from PyPI with curl? Like curl https://pypi.org/simple/flask-bcrypt/
  • Pip tries to use the values from the HTTP_PROXY and HTTPS_PROXY environment variables, are these set? You can show the output of env | grep HTTP
  • Is this in a typical home network or in an enterprise environment?
  • Has this always happened on this machine or did it start recently?
  • If this worked in the past, are you on the same network that you were on then?
  • Can you install any other packages?
  • !pip install sagemath
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f015edde080>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/sagemath/
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f015eddea58>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/sagemath/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f015eddec18>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/sagemath/
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f015edde438>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/sagemath/
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f015eddeb70>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/sagemath/
    ERROR: Could not find a version that satisfies the requirement sagemath (from versions: none)
    ERROR: No matching distribution found for sagemath

    I think maybe problem solved
    I use this site https://cocalc.com/projects/e020ac89-1095-4f90-ba7a-554ed8dfae48/files/Welcome%20to%20CoCalc.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

    This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

    I am having the sameproblem but i cannot solve this... =/
    help?
    Collecting dockerspawner==0.10.0
    Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffa65e3dbe0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/dockerspawner/
    Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffa65e3d940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/dockerspawner/
    Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffa65e3db70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/dockerspawner/
    Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffa65e6acc0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/dockerspawner/
    Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffa65e6a748>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/dockerspawner/
    Could not find a version that satisfies the requirement dockerspawner==0.10.0 (from versions: )
    No matching distribution found for dockerspawner==0.10.0
    ERROR: Service 'jupyterhub' failed to build: The command '/bin/sh -c pip install dockerspawner==0.10.0 jupyterhub-ldapauthenticator' returned a non-zero code: 1

    Thank you @AuthorBlindSubmission . All I had to do too was restart my Terminal, then

    pip install ...

    worked appropriately.

    Press Win+R to open Run, type in “regedit” and click OK.
    Step 2:
    Move to HKEY_CURRENT_USER/Software/Microsoft/Windows/Current Version/Internet Settings.
    Step 3:
    Find a file with the name 'ProxyServer' and delete it.
    Step 4:
    Open cmd
    Step 5:
    Fire a command 'pip install flask-bcrypt'

    Hi, I'm also getting same error while loading the packages after installing python 3.7, pycharm 19. Could any one help me out, because I'm new to python and trying to fix the issue, but not

    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000020EA6576108>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/math/

    Hi, I'm also getting same error while loading the packages after installing python 3.7, pycharm 19. Could any one help me out, because I'm new to python and trying to fix the issue, but not

    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000020EA6576108>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/math/

    Did you follow this steps?
    If not please have a look, hopefully this will gonna work for you.
    Step 1:
    Press Win+R to open Run, type in “regedit” and click OK.
    Step 2:
    Move to HKEY_CURRENT_USER/Software/Microsoft/Windows/Current Version/Internet Settings.
    Step 3:
    Find a file with the name 'ProxyServer' and delete it.
    Step 4:
    Open cmd
    Step 5:
    Fire a command........

    C:\Users\HARRIT>pip3 install tensorflow
    Collecting tensorflow
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001EDAACA2F98>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/tensorflow/

    I uninstalled the whole python and reinstalled it again. It worked.

    I am exploring python recently for database testing. I have come across the same issue what @rayandas has mentioned, while installing pyodbc & pandas. Infect getting the same error for all the packages while installing as below.
    C:\Users\SatKumar\AppData\Local\Programs\Python\Python38\Scripts>pip install pandas as pd
    Collecting pandas
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002221B87F3A0>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/pandas/
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002221B871D90>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/pandas/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002221B871E20>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/pandas/
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002221B871550>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/pandas/
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002221B8715E0>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /simple/pandas/
    ERROR: Could not find a version that satisfies the requirement pandas (from versions: none)
    ERROR: No matching distribution found for pandas

    As per my friends advice downloaded and moved pandas-1.0.3-cp36-cp36m-win_amd64.whl & pyodbc-4.0.30-cp27-cp27m-win_amd64.whl files into site-packages. Still nothing is working.

    Can someone please point out where i am wrong.

    Hi @sath-k . Can you please create a new issue and provide the information that I mentioned in this comment along with the info that is requested in the issue template?

    Anyone having similar issues can follow the same advice and we will try to help. Thanks!

    changed the title 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=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)")' Jul 29, 2020