jmlot

jmlot

记录分享学习过程

Installing Python packages in an internal network environment

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

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.