fork/exec {runtime.tools.python.path}/python: no such file or directory

fork/exec {runtime.tools.python.path}/python: no such file or directory
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

How to resolve this issue.

I have installed it through the boards manager.
Arduino IDE version 1.8.11
core 2.6.3

I was following below steps mentioned here --->GitHub - Azure/azure-iot-arduino: Azure IoT library for the Arduino

I think some issue with "platform.local.txt" file. But I don't know what's the exact issue here.

The problem is that the platform.local.txt provided by the azure-iot-arduino project was written specifically for ESP8266 core for Arduino 2.5.2 and there have been some changes made to the ESP8266 core since that time. Actually the real problem is that the Microsoft developers don't seem to have taken the time to understand the basics of how the Arduino IDE works. They could have easily avoided this problem of incompatibility with future versions of the ESP8266 Core for Arduino. A bit disturbing to see this quality of work coming from the people who write the software that runs on the majority of the world's personal computers!

Do this:
Open the platform.local.txt file you saved to the ESP8266 core in a text editor.

Delete the contents of the file.

Add this single line of code:

build.extra_flags=-DESP8266 -DDONT_USE_UPLOADTOBLOB -DUSE_BALTIMORE_CERT

Save the file.

Now give it a try and see if it works. If not, I can help you fix the problem.

pert:
Do this:
Open the platform.local.txt file you saved to the ESP8266 core in a text editor.

Delete the contents of the file.

Add this single line of code:

build.extra_flags=-DESP8266 -DDONT_USE_UPLOADTOBLOB -DUSE_BALTIMORE_CERT

Save the file.

Sorry for dusting off an old one, but this worked for me! Thank you.

You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per