Sublime Forum

[WinError 2] The system cannot find the file specified [cmd: ['python3', '-u', '']]

#1

[WinError 2] The system cannot find the file specified
[cmd: [‘python3’, ‘-u’, ‘’]]
[dir: C:\Users\maadh\OneDrive\Desktop\python_work]
[path: C:\Program Files\Python39\Scripts;C:\Program Files\Python39;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Python39;C:\Users\maadh\AppData\Local\Programs\Python\Python39;C:\Users\maadh\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\maadh\AppData\Local\Programs\Python\Python39;C:\Users\maadh\AppData\Local\Programs\Python\Launcher;C:\Users\maadh\AppData\Local\Microsoft\WindowsApps;C:\Users\maadh\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.9;C:\Program Files\Python39;]
[Finished]

i am not able to run python in sublime , help

0 Likes

#2

[‘python3’, ‘-u’, ‘’]

I think what this means is you’re trying to run an unsaved file. Save the file before executing a build.

0 Likes