-
Notifications
You must be signed in to change notification settings - Fork 37
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
Installing python libraries on a windows server without internet access. #765
Comments
Any distribution can have dependencies and/or build dependencies, as is the case here. |
@merwok I downloaded all my Python libraries from Pypi.org and I am following these instructions to install (https://packaging.python.org/en/latest/tutorials/installing-packages/). I have to rely on a separate division at my job to download the required libraries ( and they downloaded a mix of compressed files and .whl extension files. Our computing environment is extremely rigid and I should have been more specific about my needs but it's my first time doing this. Here is a list of some of the Python libraries: glob2-0.7.tar.gz, Pandas.whl, jupyterlab.whl, os.whl, re, tkinter, and a few more. I currently have a mix of compressed files and a few files with the .whl extension. |
Quick notes:
|
Problem description
I downloaded the file and after running pip install I get the following error
PS C:\Users\knowlesp104> python -m pip install C:\Users\knowlesp104\Downloads\glob2-0.7.tar.gz
Processing c:\users\knowlesp104\downloads\glob2-0.7.tar.gz
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionEr
ror('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001F2B2563680>: Failed to establish a new connection: [Errno 11002] g
etaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionEr
ror('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001F2B23B1370>: Failed to establish a new connection: [Errno 11002] g
etaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionEr
ror('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001F2B2563DA0>: Failed to establish a new connection: [Errno 11002] g
etaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionEr
ror('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001F2B2563FE0>: Failed to establish a new connection: [Errno 11002] g
etaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionEr
ror('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001F2B2594200>: Failed to establish a new connection: [Errno 11002] g
etaddrinfo failed')': /simple/setuptools/
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
PS C:\Users\knowlesp104>
The text was updated successfully, but these errors were encountered: