Sublime: Change Python Version
Could someone tell me what am I doing wrong in selecting a different
version of python for sublime text 2 (running on mac)? I want sublime to
use python3.2 but not python2.6 which is default version on mac.
I want sublime to use python3.2 for the plugins I write.
I followed the steps mentioned in the ans to this thread (click here!)
This is not working. I know it is not working as I have wwritten a simple
plugin to print the version and it prints 2.6.7
My python.sublime-build
{
//Default
//"cmd": ["python", "-u", "$file"],
"cmd":
["/Library/Frameworks/Python.framework/Versions/3.2/bin/python3.2",
"-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
No comments:
Post a Comment