Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Virtual Environments
#1
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.
Reply
#2
see: https://python-forum.io/Thread-pyenv-Sim...ight=pyenv
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Best practice on using virtual environments in Python bytecrunch 6 648 Feb-14-2024, 03:22 PM
Last Post: snippsat
  Virtual Environments - Organization (VS Code) JaysonWonder 11 1,771 Jan-26-2023, 11:34 PM
Last Post: Larz60+
  Keeping up with IDEs and Virtual Environments... bytecrunch 7 2,372 Sep-05-2022, 08:04 PM
Last Post: snippsat
  I don't understand pip and environments snakes 3 1,200 Jul-31-2022, 08:17 PM
Last Post: snakes
  Use different Anaconda environments on Linux Mint and Spyder StaLLoNe_CoBRa 0 1,841 Jan-20-2021, 03:12 AM
Last Post: StaLLoNe_CoBRa
  pip and venv virtual environments soupworks 2 2,230 Dec-30-2020, 11:38 PM
Last Post: soupworks
  Embedding, windows, and virtual environments mariofutire 0 2,998 Sep-14-2018, 10:30 AM
Last Post: mariofutire
  Different Virtual environments Pengwain 1 2,373 Jul-08-2018, 02:48 PM
Last Post: snippsat
  Installing blpapi in two different conda environments snicolaou 0 3,976 Jan-09-2018, 02:12 PM
Last Post: snicolaou

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020