Arduino 2.0 rc-3 NodeMCU compile can't find python3

The short answer is that the installation should be here:

/Users/fischp/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/

This part of the error: {runtime.tools.python3.path} is the reference to the property that is programmatically set to the path above by the Arduino IDE. The fact that it was not expanded indicates that the path does not exist, which can happen if something goes wrong during the installation of the esp8266 Arduino boards platform via the Arduino IDE Boards Manager.

I will suggest you try uninstalling and then reinstalling this platform in hopes it was only a transient failure and you'll get a good installation this time around.

Please try this:

  1. Select Tools > Board > Boards Manager from the Arduino IDE's menus to open the Boards Manager view in the side panel.
  2. Scroll down through the list of boards platforms until you see "esp8266 by ESP8266 Community". Click on it.
  3. Hover the mouse pointer over the "INSTALLED" label.
    You will see it change to "UNINSTALL". Even though it doesn't really look like one, this is a button.
  4. Click the "UNINSTALL" button.
  5. An Uninstall confirmation dialog will now open. Click the Yes button.
  6. Wait for the uninstallation to finish.
  7. Once again, click on "esp8266 by ESP8266 Community" in the Boards Manager view
  8. Select "3.0.2" from the dropdown version menu to the left of the Install button.
  9. Click the Install button.
  10. Wait for the installation to finish.

Now try compiling you sketch again. Hopefully the error will be fixed.

1 Like