Sublime Forum

[Errno 2] Cannot Build in Python

#1

I get the following error:
I am running OX 10.9.5

I did notice that My specific file name is Frameworks with an 's]
Should I change that?
If so where can I do that?

[Errno 2] No such file or directory
[cmd: [u’/Library/Framework/Python.framework/Versions/2.7/bin/python2.7’, u’-u’, u’’]]
[dir: /]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
[Finished]

Any help would be greatly appreciated.

Thanks

0 Likes

#2

Okay so I went to Python.sublime-build

and I changed ‘Framework’ to ‘Frameworks’

{
“cmd”: “/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7”, “-u”, “$file”],
“file_regex”: “^ ]File "(…?)”, line ([0-9]*)",
“selector”: “source.python”

}

and I got the following error:

/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can’t find ‘main’ module in ‘’
[Finished in 0.1s with exit code 1]

What Should I do next?

0 Likes