🐿️
18

I keep seeing beginners skip the most basic step and it's costing them hours

For the third time this month, I've helped someone who couldn't get their Python script to run. Every single time, the problem was they never activated their virtual environment after creating it. They'd install packages globally, mess up their main Python setup, and then spend a whole afternoon confused. I learned this the hard way myself about two years ago when I broke a project right before a deadline. It's a five-second command that saves so much headache. Has anyone else run into this, or found a good way to remember to type 'source venv/bin/activate'?
3 comments

Log in to join the discussion

Log In
3 Comments
hannahs71
hannahs7117d ago
lol wait what 47 times. that's actually insane. i thought i was bad because i forgot like 5 or 6 times before i finally drilled it into my brain. 47 times is a whole different level of stubbornness or bad luck. how do you even forget that many times without eventually just writing a post-it note or an alias or something. i would have smashed my keyboard by attempt number 10.
3
casey943
casey9432mo ago
How many times did I do this before it stuck?
2
simon_davis
I mean casey943, you did it like 47 times before it finally worked.
7