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
  Organization of project directories wotoko 3 361 Mar-02-2024, 03:34 PM
Last Post: Larz60+
  Best practice on using virtual environments in Python bytecrunch 6 643 Feb-14-2024, 03:22 PM
Last Post: snippsat
Question Virtual Environment (using VS Code) Ashcora 4 12,494 Feb-15-2023, 07:17 PM
Last Post: snippsat
  Keeping up with IDEs and Virtual Environments... bytecrunch 7 2,365 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,839 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
  Virtual Assistant code is looping back in python ShishirModi 1 2,480 Oct-13-2020, 08:04 AM
Last Post: Nickd12
  Virtual Environments pneveux 1 1,789 Apr-04-2019, 09:15 PM
Last Post: Larz60+
  Embedding, windows, and virtual environments mariofutire 0 2,998 Sep-14-2018, 10:30 AM
Last Post: mariofutire

Forum Jump:

User Panel Messages

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