Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

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

I am running Arduion IDE 1.8.12 on Ubuntu 18.04.4 LTS.

I am trying to compile Example code for ESP32 Camera module (standard camera module with default example on Arduino IDE) and I got this error (which I think is not Arduino issue, but Python):

"exec: "python": executable file not found in $PATH
Error compiling for board ESP32 Wrover Module" 

Same message with all ESP32.

I also did sudo apt install python. Got back this:

Reading package lists... Done
Building dependency tree 
Reading state information... Done
python is already the newest version (2.7.15~rc1-1).
0 modernizētas, 0 instalētas no jauna, 0 tiks noņemtas un 6 netiks modernizētas.

When I type Python in Terminal, got this back:

Python 2.7.17 (default, Nov 7 2019, 10:07:09)
[GCC 7.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Thank you for help!

BR, Valters

Answer*

Draft saved
Draft discarded
Cancel
1
  • I update Monterey 12.5.1, i had the error. This solved it. Commented Sep 10, 2022 at 14:28

lang-py

AltStyle によって変換されたページ (->オリジナル) /