Does anyone know what I can do about this error message: can't find __main__ module in…?

Hello, I recently tried writing Python code on a Mac with Sublime Text, but even with the simplest programs I get the error message mentioned in the title.

even if I only

print("Hello World")

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
1 Answer
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
cleanercode
10 months ago

Do you have a build-Config for Python in Sublime?