Platform: Ubuntu Linux / 1.8.19 IDE
Note: FRESH install.
Compile error on esp32:
exec: "python": executable file not found in $PATH
Error compiling for board ESP32 Dev Module.
I have installed python and rebooted.
sudo apt-get install git && \
wget https://bootstrap.pypa.io/get-pip.py && \
sudo python3 get-pip.py && \
sudo pip3 install pyserial && \
mkdir -p ~/Arduino/hardware/espressif && \
cd ~/Arduino/hardware/espressif && \
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
cd esp32/tools && \
python3 get.py
The above batch command executed without a hitch.
Ran this again:
ed@ed-G41MT-S2PT:~$ sudo apt install python3-pip
[sudo] password for ed:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (20.0.2-5ubuntu1.6).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.