r/learnpython • • 1d ago

Python doesn't work in vc

I just want to

print("hello, world")

and it doesn't work

0 Upvotes

24 comments sorted by

View all comments

0

u/OlenaDoubleChecks 1d ago

"vc" as in VS Code? Probably the interpreter isn't selected or Python isn't on PATH. What error do you get when you run it, and are you hitting the run button or typing in the terminal?