java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, The system cannot find the file specified

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Solutions on the web

via blynk.cc by Unknown author, 1 year ago
Cannot run program "python.exe": CreateProcess error=2, The system cannot find the file specified
via GitHub by angipp01
, 8 months ago
Cannot run program "python.exe": CreateProcess error=2, The system cannot find the file specified
via GitHub by jbltimberrock
, 5 months ago
Cannot run program "python.exe": CreateProcess error=2, The system cannot find the file specified
via GitHub by professorjmk
, 1 year ago
Cannot run program "{path}/bin/avrdude": CreateProcess error=2, The system cannot find the file specified
via GitHub by BusesCanFly
, 7 months ago
Cannot run program "python.exe": CreateProcess error=2, The system cannot find the file specified
via GitHub by lucalauc
, 3 months ago
Cannot run program "/usr/local/bin/openocd": CreateProcess error=2, The System Cannot Find the File Specified.
java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:130)
at cc.arduino.packages.uploaders.GenericNetworkUploader.uploadUsingPreferences(GenericNetworkUploader.java:97)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.Sketch.upload(Sketch.java:1186)
at processing.app.Sketch.exportApplet(Sketch.java:1160)
at processing.app.Sketch.exportApplet(Sketch.java:1132)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2409)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.