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

tip

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

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Updating OTA is amazing - Blynk
    via by Unknown author,
  • GitHub comment 5#282595403
    via GitHub by angipp01
    ,
  • GitHub comment 2#295957055
    via GitHub by jbltimberrock
    ,
  • GitHub comment 1251#167509396
    via GitHub by mikecrean
    ,
  • Arduino Uno Problems- Programmer not responding
    via by Unknown author,
  • IDE 1.6.7 Released - Page 2
    via by Unknown author,
  • IDE 1.6.7 Released
    via by Unknown author,
  • Unable to compile/upload Arduino ISP sketch
    via by Unknown author,
    • java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) 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) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:386) at java.lang.ProcessImpl.start(ProcessImpl.java:137) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 9 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor2 times, last one,
    158 more bugmates