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
I created a symbolic link as such, linking python with python3, it worked for my ubuntu 18.04 machine
sudo ln -s /usr/bin/python3 /usr/bin/python
I did this for Ubuntu 20.04 LTS:
apt install python-is-python3
To solve & Fixed the following upload error from Arduino To ESP32-CAM (And for ESP32 too): environment: ubuntu 20.04 64bit, Arduino 1.8.13 ESP32-CAM And yp-05 (for ESP's serial connection)
The solution is:
sudo dpkg -i python-is-python3_3.8.2-4_all.deb
2) Wiring
WIRES colors: | black | NO | WHITE | GRAY | BROWN | EMPTY
yp-05 legs ordere: | GRD | EMPTY | VCC | TX | RX | DIR
esp32s CAM: | GRD | EMPTY | 3.3V | GPIO 3 UOR | GPIO 1 UOT | EMPTY
*** just For Upload: SHORT ESP32-CAM 100 & GRD
I hope it will save time to start using ESP32-CAM (And ESP32 too).
That's it - Solved & Run!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With