Python Forum

Full Version: Virtual Environments
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm relatively new to Python. I've always been told to use a virtual environment when developing a project to make sure that updated packages won't break my project which makes perfect sense and I use them all the time.
What I was curious about is why Python copies all the necessary files under the "venv" folder instead of just referring to them via a json file, for example. I have a small Django project that has nearly 6000 files in some 2400 folders. The disk space is not large but when trying to do an initial synchronization with a Google drive, for example, can take quite a long time. Are there any plans to change the implementation of creating virtual environments, i.e. making them truly virtual?
Any insight would be greatly appreciated.