Python Forum
Virtual Environments - Organization (VS Code)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Virtual Environments - Organization (VS Code)
#11
I have a venv for just messing around with Python. It is what I would use to test code I would write in response to a forum post. It slowly grows to have a lot of installed packages, but that is ok. The mess is isolated, and I'm fine with deleting that environment and starting over. For real work on more substantial projects, I create a venv dedicated to each.
Reply
#12
Each and every project that I have, uses it's own virtual environment.
I also use pyenv, so that I can have many versions of python, and each project can have it's own version.
This allows for legacy software to still function, which is a plus when wanting to upgrade.
Incremental backup's are much easier this way as well.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows, Linux and virtual environments Calab 2 499 Mar-07-2025, 10:43 PM
Last Post: snippsat
  Python use of virtual environments bre67e49 4 794 Feb-19-2025, 04:01 AM
Last Post: Sece1967
  I cannot create a virtual environment on visual studio code using python Willem_Aucamp316 2 3,526 Nov-27-2024, 02:20 PM
Last Post: menator01
  Organization of project directories wotoko 3 1,515 Mar-02-2024, 03:34 PM
Last Post: Larz60+
  Best practice on using virtual environments in Python bytecrunch 6 15,390 Feb-14-2024, 03:22 PM
Last Post: snippsat
Question Virtual Environment (using VS Code) Ashcora 4 69,978 Feb-15-2023, 07:17 PM
Last Post: snippsat
  Keeping up with IDEs and Virtual Environments... bytecrunch 7 7,123 Sep-05-2022, 08:04 PM
Last Post: snippsat
  I don't understand pip and environments snakes 3 2,210 Jul-31-2022, 08:17 PM
Last Post: snakes
  Use different Anaconda environments on Linux Mint and Spyder StaLLoNe_CoBRa 0 2,481 Jan-20-2021, 03:12 AM
Last Post: StaLLoNe_CoBRa
  pip and venv virtual environments soupworks 2 3,025 Dec-30-2020, 11:38 PM
Last Post: soupworks

Forum Jump:

User Panel Messages

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