F
13

PSA: I see so many people trying to learn Python without setting up a virtual environment first.

Honestly, after my project folder got completely messed up for the third time last month, I finally forced myself to learn venv, and it's the one thing I wish I'd done from day one because it keeps your dependencies separate and clean.
3 comments

Log in to join the discussion

Log In
3 Comments
angelarivera
How many times did you have to wreck your own projects before it clicked? I did the same thing, just throwing packages into the global space like a total mess. It's like using the same toothbrush for your whole family and wondering why everyone gets sick. Virtual environments are just basic hygiene for your code.
3
jamieb80
jamieb808d ago
Totally agree, it's a game changer for keeping things organized. I mean, I used to just install everything globally and it was a mess. Now I can have different versions for different projects without them fighting each other.
1
jamief67
jamief678d ago
Yeah, that "without them fighting each other" part is so true, @jamieb80. It's like how I keep my work and personal stuff in separate folders now. Just having clear lines makes everything run smoother.
8