This is evidently an error many people get. I have Python 3 installed on my Mac, but I can only access it if I launch Arduino from within Terminal. The forum at Adafruit was unable to resolve this and suggested I ask the Arduino forum. Is there any resolution available?
exec: "python3": executable file not found in $PATH
Error compiling for board Adafruit Feather ESP32-S2.
After posting this question I was shown an existing thread on the same issue. I've tried the various solutions offered with no success. The following command was listed in another thread, but I can't find that thread again. I hate to enter Terminal commands having no idea what they do or change. What all is this doing to my machine?
I installed the ESP32 environment correctly.
I used the same link you suggest for the Board Manager.
I ran the sed command you provided in Terminal as one line and it returns with no error.
I still get the $PATH error.
I do have Python 3 installed. If I enter "which python3" in Terminal I get:
The error message actually has another comment, in case this matters. The full message is:
Multiple libraries were found for "WiFi.h"
Used: /Users/bryan/Library/Arduino15/packages/esp32/hardware/esp32/2.0.3/libraries/WiFi
Not used: /Applications/ Bryan's/Arduino/Arduino 1.8.19.app/Contents/Java/libraries/WiFi
exec: "python3": executable file not found in $PATH
Error compiling for board Adafruit Feather ESP32-S2.
Thanks for your patience in trying to solve my problem. I have a virtual instance of MacOS Monterey running under Parallels. I just installed Arduino on it, and the necessary libraries, and it compiles without error. But, for reasons unknown, it runs as slow as molasses and is unworkable. This seems to explain the problem. Some things won't run on the new OS, some things won't run on the old.
I have never tried the online compiler. I just had a look. It doesn't seem so bad except that several of the projects in my Projects folder to not appear in the Upload window. And the project I'm struggling with is one of them. Some things won't run on the new OS, some things won't run on the old, and some things won't run on the online compiler!