Facing Problem In VS Code

2025-09-17T16:01:37.2033333+00:00

Dear Team ,

I am not able to install python libraries like pandas , numpy and getting this error ..

PS C:\Users\z0032wvy\Desktop\GOA_ISO> pip install pandas

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002144E60C470>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/

WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002144F41A960>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/

WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002144F474CE0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002144F474DA0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002144F4750A0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/

ERROR: Could not find a version that satisfies the requirement pandas (from versions: none)

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Adiba Khan 895 Reputation points Microsoft External Staff
    2025-09-18T07:16:19.7066667+00:00

    Thanks for reaching out. I see you are getting the error that pip can’t connect to the internet because of a proxy or network restriction.

    Solutions you can try:

    1.      Check Internet Connection

         Make sure you open websites (e.g., [https://pypi.org](https://pypi.org)) in your browser. If the internet                        works fine, the issue is likely due to a proxy.
    

    2.      Upgrade pip

         Sometimes upgrading pip helps:
    
                    Python -m pip install –upgrade pip
    

    3.      Configure Proxy (if using office/ school network)

         If you are behind a proxy, configure pip with your proxy:
    
                     Pip installs pandas --proxy = [https://username:password@proxyserver:port](https://username:password@proxyserver:port)
    
         Or set it globally:
    
                     Pip config set global.proxy [https://username:password@proxyserver:port](https://username:password@proxyserver:port)
    

    4.       Disable Proxy (if not needed)

          If your system is forcing pip to use a proxy, remove it
    

                    Setx HTTP_PROXY “”

                    Setx HTTPS_PROXY “”

          Restart VS Code after running it.
    

    5.      Try direct Installation from Wheel (offline)

         If proxy keeps blocking:
    
                   ·         Go to PyPI Pandas page.
    
                   ·         Download the .whl file for your Python version.
    
                   ·         Install manually:
    
          Pip install pathto\pandas-x.x.x-cp39-cp39-win_amd54.whl
    

    In short-

    ·         This error is not about VS Code itself, it’s about network/proxy blocking pip.

    ·         Either configure pip with proxy or use an offline wheel.

    Let me know if you need any further help with this. We'll be happy to assist.

    If you find this helpful, please mark this as answered.

     


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.