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

That might proof to be challenging, indeed :stuck_out_tongue:

This Error appears on my Windows 11 PC too:
(BM 1.1.10):

(BM 1.1.9) it works!

Its a link issue. I bet ont he non-working PC just opening a command prompt and typing ‘python’ just gives an error, but ‘py’ works.

py and python doesn*t find python in the powershell.
Why does the sketch compile with board manager 1.1.9 ?
Why are the problems on a mac and pc the same in 1.1.10 and not in 1.1.9 ?

I have no idea. I’m just telling you my experience on Windows, which led to the same problem.

Hi schroepfer,

That’s interesting :slightly_smiling_face: I am assuming you download the Seeed nRF library from Arduino IDE directly. Maybe you could try uninstall all seeed nRF libraries in Arduino IDE, then download the seeed nRF52 board library directly from github.

Go to the github page: GitHub - maxgerhardt/framework-arduinoadafruitnrf52-seeed: PIO repackage of the Seeed "1.0.0" core (Adafruit nRF52 core fork)
And follow the instruction how to download the repository directly from git.

Regards,
John

I followed exactly this on my MAC:

Result: :frowning: