DEV Community

Franz Wong
Franz Wong

Posted on

Install pip offline

Download necessary files

Do the following with a computer WITH internet access

  1. Download get-pip.py from https://bootstrap.pypa.io/get-pip.py

  2. 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/#files

  3. Copy 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>
Enter fullscreen mode Exit fullscreen mode

Example:

python get-pip.py —no-index —find-links=/Users/foo/Downloads
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more