pip
¶
Valid platforms¶
Downloading packages for a different platform¶
pip download \
$package==$package_version \
--platform=$platform \
--implementation=cp \ # cp = CPython
--python-version=$pyversion \
--only-binary=:all:
Use pip without attempting to use the internet¶
pip
will by default attempt to read the public PyPi index. This will cause various commands to wait for a timeout when used on airgapped systems.
To avoid this, run commands without the index: