so I have recently gotten into python and I use sublime text 2 alot for things like HTML and CSS and I want to use it for python too but when i try to compile with it I get the following error:
[Error 2] The system cannot find the file specified
[cmd: [u'python', u'-u', u'C:\\Users\\User\\AppData\\Roaming\\Sublime Text 2\\Projects\\All Python Coding stuff\\Sublime Testing.py']]
[dir: C:\Users\User\AppData\Roaming\Sublime Text 2\Projects\All Python Coding stuff]
[path: C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Panda Security\WaAgent\Common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.7.0_51\bin]
[Finished]
I have changed the build system to python and I have restarted and even installed python again. When I run a python script in IDLE it works fine.
Edit 1.
So now i get the error:
[Error 2] The system cannot find the file specified
[cmd: [u'python', u'-u', u'C:\\Users\\Weber\\AppData\\Roaming\\Sublime Text 2\\Projects\\All Python Coding stuff\\Sublime Testing.py']]
[dir: C:\Users\Weber\AppData\Roaming\Sublime Text 2\Projects\All Python Coding stuff]
[path: /usr/local/bin]
[Finished]
my `python.sublime-build' looks like this:
{
"cmd": ["python", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}