Reputation: 65
I have tried to connect my esp32 on my M1 MacBook through the Arduino IDE and I'm getting the following error.
exec: "python": executable file not found in $PATH
Error compiling for board ESP32 Dev Module.
Does anyone have any idea how to fix it?
If I run python3 --version
in the terminal I get the version which is Python 3.8.9.
screenshot
Many thanks in advance (:
Upvotes: 1
Views: 2153
Reputation: 26
Open the App via Terminal works:
open /Applications/Arduino.app
compiles without errors
Upvotes: 1
Reputation: 6786
If the IDE is a GUI application started from the Finder, and your Python binary is in some location that is added to PATH by the shell start-up files (such as .bashrc or .zshrc), then the issue may be that those files don’t take effect for programs started through the Finder (since no shell is involved).
Upvotes: 0