17
Took 5 tries to get my first Python script to actually run
Last week I finally finished that Udemy beginner course but every time I tried to run my first script it just errored out. I was using VS Code on my MacBook and kept missing the indentation and syntax stuff. After watching a YouTube video at 2 AM I realized I had the wrong Python path selected in the terminal. Has anyone else gotten stuck on something this basic and felt like quitting for a hot second?
1 comments
Log in to join the discussion
Log In1 Comment
king.kevin1mo ago
Dude, the wrong Python path thing hit me right in the gut. I spent an entire weekend convinced I was too dumb for coding because my script kept saying “command not found.” Turns out I had three different versions of Python installed and VS Code was pointing at the one that did nothing. I almost deleted everything and went back to watching Netflix. But once I fixed it, I literally sat there laughing at how dumb the fix was. Keep going, it gets way less confusing after this first wall.
4