Change python interpreter – Sublime Text 2

Tools > Build System > New Build System. Insert the file and with your python version:

{
  "cmd": ["python3", "-u", "$file"],
  "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
  "selector": "source.python"
}

Leave a Comment