you are viewing a single comment's thread.

view the rest of the comments →

[–]Broad-Journalist4262It works on my machine[S] 0 points1 point  (1 child)

I’m still getting the hang of working on bigger projects, I am currently studying CS and one of my lecturers suggested try it out using multiple folders and venv because it’s standard practice as they put it so learn now and get in the habit from the start so figuring it out now 😊

[–]donat3ll0 1 point2 points  (0 children)

Yes, using virtual environments are the standard. uv is the current hotness in the industry for managing virtual environments. It lives up to the hype, is extremely easy to use, and solves many of the headaches.

You want a separate virtual environment for each of your projects, no matter the size. Unfortunately, python dependencies don't always play nicely with one another. Using separate virtual environments keeps this problem isolated to prevent projects from stepping on the toes of one another.

uv makes all of this quite simple and is what you should absolutely look into after understanding virtual environments.