'How to install package an its dependecies from whl files
I am trying to install a package from pip on a remote cluster.
The cluster policy does not allow to install packages from the internet, so I copy the package files (whl) and install them locally.
So I download the package and all of it's dependencies by the following command:
python3 -m pip download packagename.
It gives me tons of files.
To install the package, pip3 install packagename.whl try to get the dependencies from a remote repo, not local files.
what is the proper command to let pip know where to look for package dependency files?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
