I created a virtual environment and I'm trying to import packages such as numpy from my default environment to the virtual one. I tried using pip but I can't figure out how to import packages from my local storage.In my case downloading the same packages from the web is not an option.
Asked
Active
Viewed 70 times
0
-
1Don't import them from another environment. Install them into the virtual environment. – ChrisGPT was on strike Jan 05 '20 at 12:34
-
1"In my case downloading the same packages from the web is not an option."—why not? – ChrisGPT was on strike Jan 05 '20 at 12:34
-
Because I don't have connection to the internet on that machine... – Nathan Sikora Jan 05 '20 at 12:41
-
1How did you install the packages in question in the first environment? – ChrisGPT was on strike Jan 05 '20 at 12:43
-
2if you installed them then they should be available in the local [cache](https://pip.pypa.io/en/latest/reference/pip_install/#caching) on your computer – gold_cy Jan 05 '20 at 12:46