Download necessary files
Do the following with a computer WITH internet access
Download get-pip.py from https://bootstrap.pypa.io/get-pip.py
Download wheel (.whl files) from pypi to local machine
pip: https://pypi.org/project/pip/#files
setuptools: https://pypi.org/project/setuptools/#files
wheel: https://pypi.org/project/wheel/#filesCopy get-pip.py and wheel files to the computer without internet access
Install pip
Do the following with a computer WITHOUT internet access
Run the following command
python get-pip.py —no-index —find-links=<directory containing wheel files>
Example:
python get-pip.py —no-index —find-links=/Users/foo/Downloads
Top comments (0)