I build a simple program on a Win10 laptop in Sublime and get:
[WinError 2] The system cannot find the file specified
[cmd: [‘py’, ‘-u’, ‘C:\learning_python\hello_world.py’]]
[dir: C:\learning_python]
[path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Anaconda3;C:\Anaconda3\Library\mingw-w64\bin;C:\Anaconda3\Library\usr\bin;C:\Anaconda3\Library\bin;C:\Anaconda3\Scripts;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\PROGRA~2\COMMON~1\Odbc\FILEMA~1;C:\Users\joan_\AppData\Local\Microsoft\WindowsApps;]
[Finished]
If I do the command py -u C:\learning_python\hello_world.py
I get the message that py is not recognized.
If I change py to python,
python -u C:\learning_python\hello_world.py
That works. Where is Sublime setting py as the language and how do I change it to python?