- Use Ctrl+` to show Console.
- Install Package Control on Sublime Text 3 under the Tutorial.
- Download Anaconda Package of Sublime via Package Control on ST3:
Enter Command Palette through ctrl+shift+p
Package Contorl: Install Packageor
Search Anaconda and download.
- Relauch your ST3, you can build you Python file with Ctrl+B.
However, if your default Python path is not under
C:\Python27 for some reason (Such as you download your Python via Anaconda powered by Continuum), you may get the error like
Python is not recognized.Then you need to set your Environment Variable
- Check the path of your
Python.exefile (If you already installed Anaconda, I think
Python.exemight be under the directory of Anaconda)
- Follow the instruction below to add your path of
Python.exeto the Environment Variable:
a. From the desktop, right-click My Computer and click Properties.
b. In the System Properties window, click on the Advanced tab.
c. In the Advanced section, click the Environment Variables button.
d. Highlight the Path variable in the Systems Variable section and click the Edit button.
f. Add the path of your python executable(the path of Anaconda). Each different directory is separated with a semicolon. (Note: do not put spaces between elements in the PATH. Your addition to the PATH should read like
g. Apply the changes. You might need to restart your system, though simply restarting cmd.exe should be sufficient.
h. Launch cmd and try
Pythoncommand again. It should work.