[Errno 2] No such file or directory: ‘’[Finished in 49ms with exit code 1]
[cmd: [‘python3’, ‘-m’, ‘py_compile’, ‘’]]
Can anyone tell me what this error means?
Yamps
#1
0 Likes
jfcherng
#2
It looks like the python script you try to execute is not an existent file. I.e., unsaved.
0 Likes
Yamps
#3
That’s weird since im running it as a sublime text project is there a specific way I can fix this since that’s the only error that’s stopping my code from working. thanks!
0 Likes
OdatNurd
#4
The only fix is that you have to save the Python file that you want to run to disk before you can run it; Python is an external program so it needs to see a file of code to run.
In the diagnostic that you shared, the last ''
is the name of the file you’ve told Python to run (i.e. there is not one).
0 Likes