🐿️
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'?
2 comments

Log in to join the discussion

Log In
2 Comments
casey943
casey94312d 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