Exec: "python": executable file not found in $PATH

glad it helped too

seems a lot of us needed that !

Thanks, worked for me too!

That also worked for me. Thanks very much.
But, although it may be obvious to some, that terminal command is one long line - and not two separate commands as it may appear in the solution!

indeed, it's just one unix command you execute.

I modified the format of the message so that it looks more like one line (the auto-formatting was playing tricks otherwise)

Thx, it solved the problem
this little tricks are very annoying --> I know, one time solutions "forever"
thx again

For me this works very well. Thanks a lot.

Hi to all
I have same problem. Running suggested command result: zsh: "no matches found:..."
I use macos Monteray, Arduino IDE and Heltec ESP32 Wifi Lora board.
Please help
Rgds

Can you post the exact command you entered and exact error message?

Which IDE version?

Worked for me. Thanks a lot!

Hi
After copiling any of examples, compiler generates this report on the end:
Traceback (most recent call last):
File "esptool.py", line 57, in
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports.py", line 29, in
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports_posix.py", line 31, in
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports_osx.py", line 32, in
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found
Failed to execute script esptool

exit status 255

Compilation error: exit status 255
Macos: Monterey v. 12.5.1
Arduino IDE v. 2.0.0
The board is Heltex LoRa 32
Library: Heltec ESP32 dev board
Runninge sugested command in terminal , returns:
zsh: no matches found: /Users/mladanstetic/Library/Arduino15/packages/esp32/hardware/esp32/*/platform.txt

Thanks

Did you install the ESP32 environment?
Try with the previous IDE 1.8.19

I have tried with arduino ide 2 v 1.8.16. It want accept heltec board. It recognizes board but as incompatible one. ESP environment is to complicate to install for me. Thanks for help anyway.

I’m using Monterey with a Mac with a USB C to USB adapter and this exact Lora32 Heltec board…. It just works fine for me with 1.8.19

I have reinstalled arduino ide 1.8.18. and libraries as well. Still compailing generates errors. What is your version of Monterey update? My is 12.5.1
Thanks

I am up to date with the latest Monterey update (12.6 I think)

Did you install the ESP32 environment? It does not come with the IDE.

I have done last update for macos and finaly works. No more python errors. Thanks for help.

good to know ! have fun

wanted to mention in IDE2 dec2022 Exec: "python": executable file not found in $PATH - #16 by J-M-L got me up and running!

It works for me. I am using Arduino IDE 2.0.3 and Mac OS Ventura 13.0.1 on a Macbook Air 2020 i7. Later run the command you have to reboot the IDE.

thank you so much this helped a lot. :smiley:

1 Like