0

Every time I create a Virtual Environment for Django, from inside the virtual environment, I need to run

pip install django

which requires internet access.
Can I somehow install django globally on my machine and "pull" it from inside the Virtual Environment?
I am running Zorion OS(Ubuntu-ish).

S. Karki
  • 31
  • 6
  • 1
    See [this question](https://stackoverflow.com/questions/11091623/how-to-install-packages-offline). In particular the answers from Carl Meyer and chaokunyang look useful. – Alasdair Nov 18 '20 at 16:42
  • If you want django in *every* virtual environment, I think you could install it globally outside of virtual environment. Not sure if you want it by default, or not have to pip install it each time. See https://stackoverflow.com/questions/27101695/default-libraries-in-freshly-created-python-virtual-environment for sort of the opposite problem – AMG Nov 18 '20 at 20:04

0 Answers0