Installing Python Packages in an Intranet Environment#
The simplest method is to download the packages using pip on an external computer, and then copy the downloaded files for installation in the intranet.
# Step 1: Download the required packages in the external network
pip install urllib3
# Step 2: Find the downloaded package path on the external computer
pip download urllib3 -d "urllib3"
# Step 3: Copy the files for installation in the intranet
pip install filename