Python Forum
Sublime Text 3 WinError 2 File Specified - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Sublime Text 3 WinError 2 File Specified (/thread-25534.html)



Sublime Text 3 WinError 2 File Specified - HelloWorld17 - Apr-02-2020

Hello, newbie to coding here. I am trying to run print("hello Python world!") on Sublime Text 3, but an error msg keeps popping up, as shown below:

[WinError 2] The system cannot find the file specified
[cmd: ['python3', '-u', 'C:\\python_work\\hello_world.py']]
[dir: C:\python_work]
[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)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\WINDOWS\System32\OpenSSH\;C:\Users\T-Gun2\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\T-Gun2\AppData\Local\Programs\Python\Python37\;C:\Users\T-Gun2\AppData\Local\Programs\Python\Launcher\;C:\Users\T-Gun2\AppData\Local\Microsoft\WindowsApps;]
[Finished]

The Python version I installed is 3.7.7. On Sublime Text 3, I have created a New Build System for Python3, ie. Tools --> Build System --> New Build System, with the entry below:
{
"cmd": ["python3", "-u", "$file"],
}

Could anyone help me resolve this problem? Much appreciated. Thank you!