Sublime Forum

Sublime Text - Python Run Error

#1

Hi, I am having trouble viewing the python run code on sublime text. I have already changed the syntax to python and Build with “python” and also tried to build new system and put the default code snippet but nothing seems to be working.
I have the latest python version on my system so i dont know what the problem is.

Here is a picture of the error I am getting.
43%20PM|690x163

Heres what is says in case you cant open the image.

/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can’t find ‘main’ module in ‘’
[Finished in 0.5s with exit code 1]
[shell_cmd: python -u “”]
[dir: /Users/atom/Library/Application Support/Sublime Text 3/Packages/User]
[path: /Users/atom/opt/anaconda3/bin:/Users/atom/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin]

0 Likes

#2
2 Likes