A
A
alex123652018-04-30 18:50:42
Sublime Text
alex12365, 2018-04-30 18:50:42

How to run Phyton 3 in Sublime Text 3?

Greetings!
Can you please tell me how to run Phyton 3 in Sublime Text 3?
Installed the latest version of python from the official site. Downloaded sublime text 3.
Created New Build System for python 3.
Downloaded SublimeREPL.
As a result, when I run the simplest code "print ("Hello")", after saving the file, the window displays the following:
[WinError 2] Cannot find the specified file
[cmd: ['python3', '-i', '-u ', 'C:\\Users\\Artem\\Desktop\\hello.py']]
[dir: C:\Users\Artem\Desktop]
[path: C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem ;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\ Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\ Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Common Files\Apple\ Internet Services\;C:\Program Files\Common Files\Autodesk Shared\]
[Finished]
I don't understand why the specified file cannot be found.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2018-04-30
@GavriKos

Write the path to the python in the environment variables.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question