-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
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
Error: Installing Python libraries with pip #11252
Comments
Hi,
What does |
getting the same issue :) command ran: have global proxy config setup in pip.ini [global] and getting: 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 0x000001F103AEBB80>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pip/ tried fixes from previous posts: |
@sbidoul - python -m pip config debug |
I am also having this issue if anyone has resolved it that would be great help. We don't have any proxies tho that are noted in the debug and on the Windows settings for Network |
Pip is internally using Having worked in a large Enterprise the fact that you don't think you're using a proxy of some sort does not at all mean you're not actually using one. Windows has a lot of unusal places that proxy information might being sourced from. If you have requests installed already simply give this a try: import requests
response = requests.get("https://pypi.org/simple/") # Or the index you have specified
response.raise_for_status() If this does not work then there is a network configuration you need to figure out on your side. |
Given the lack of any follow up, this user support issue is stale/unactionable and should be closed. On pip's end, #5380 tracks improving the guidance around network errors. |
Description
I have windows 10. Python 3.10. And an updated version of pip.
I downloaded some Python libraries to my computer. and every time I try to install them I get the following error. for example: I try to install numpy using the following command:
pip install C:\Users\Tania\Downloads\numpy-1.23.1.tar.gz
I get this error:
`Defaulting to user installation because normal site-packages is not writeable
Processing c:\users\tania\downloads\numpy-1.23.1.tar.gz
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Ignoring packaging: markers 'platform_machine == "arm64"' don't match your environment
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001812FF39D80>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001812FF39960>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001812FF39B10>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001812FF3B880>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001812FF3A440>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
ERROR: Could not find a version that satisfies the requirement setuptools==59.2.0 (from versions: none)
ERROR: No matching distribution found for setuptools==59.2.0`
Expected behavior
No response
pip version
v22.1.2
Python version
3.10
OS
win 10
How to Reproduce
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: