Python Forum
Virtual Environments - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Virtual Environments (/thread-17280.html)



Virtual Environments - pneveux - Apr-04-2019

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.


RE: Virtual Environments - Larz60+ - Apr-04-2019

see: https://python-forum.io/Thread-pyenv-Simple-Python-Version-Management?highlight=pyenv