Unable to compile BLINK example with 1.1.10 (python not found...)

After compiling the BLINK example with Arduino 2.3.6 for my XIAON nRF52840 Sense with Board Manager 1.1.10 i get this error:

exec: “python”: executable file not found in $PATH
Compilation error: exec: “python”: executable file not found in $PATH

I tried this on 3 different computers and new Arduino installations.

Any suggestions?

Hi schroefer,

First, welcome to the Seed community:)

For the error raised, it tells you the python executable is not in the environment variable. In that case, maybe the python is not installed properly or not installed at all. You could open Powershell on windows and simply run: python --version. This could confirm whether python is installed.

By the way, I am comfused that why it raised python error when you complie code in Arduino as you should always run C/C++ in Arduino. Could you please clarify your coding environment?

Regards,
John

Hello,
the python version is in the path, but this does not help.
The error must have todo with version 1.1.10, because 1.1.9 works!

If you install python using their website, it does not work in arduinoIDE.

However, if you install python using the microsoft store, it works.

Hi schroepfer, would you like upload a screenshot of the IDE and the error raised? Appreciated.

@zikken: Can you show me, how i can do this on my MAC? :wink:

@Seeed_John:

1.1.10

1.1.9

Hi schroepfer,

Thanks for bringing this up! Unfortunately, I’m currently working on a Windows environment, so I don’t have a Mac setup to test the code directly.

However, I’ll do my best to help based on the information you’ve shared. If any other Mac users in the community have experience with this, feel free to jump in as well.

Regards,
John