Pip: 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/

Created on 30 Mar 2020  路  2Comments  路  Source: pypa/pip

Hi,
I am exploring python recently for database testing. I have come across the same issue what @rayandas has mentioned in #7424, while installing pyodbc & pandas. In fact I'm 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

Python version: 3.8.2
pip version: 19.2.3
As per my friend's 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.

auto-locked

Most helpful comment

It seems a network issue to me. Can you try after re-connecting to your internet connection?

All 2 comments

It seems a network issue to me. Can you try after re-connecting to your internet connection?

Thank you @gutsytechster . Yeah, i connected in VPN. When i disconnected from VPN and installed these packages. It worked.

Was this page helpful?
0 / 5 - 0 ratings