How to set which version of python sublime text uses
Found this on Google.
Create the file ~/.config/sublime-text-2/Packages/Python/Python3.sublime-build
:
{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
You should then be able to choose the Python3 build system.
If that doesn't work, try this:
{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "utf8",
"path": "/Library/Frameworks/Python.framework/Versions/3.3/bin/"
}