When using the extension package published in Python, the packaged module can be easily deployed to the execution environment by using the package management system pip
.
On Windows, it is included in Python (as of 3.5.1), so there is no need to install it additionally.
help
command
console
>pip help
pip install <packagename>
The procedure to bring the downloaded package to the offline environment and install it.
Use the download
command. pip --download
is now deprecated.
console
>pip download <packagename>
<packagename>-<versions> .tar.gz
is created in the folder where the command was executed.
You can install it by specifying <package name>-<versions> .tar.gz
.
console
>pip intall <packagename>-<versions>.tar.gz
Use the freeze
command to confirm the installation.
console
>pip freeze
<packagename>==1.0.0
Recommended Posts