PDA

View Full Version : The path for Python is not found in $PATH in the Arduino-IDE - on my Ubuntu



dilbert_one
October 16th, 2019, 10:34 PM
Hello, good day dear Ubuntu-experts - good day dear Community,



the topic of today: The path for Python is not found in $PATH in the Arduino-IDE - on my Ubuntu



I'm running Ubuntu 18.04.02 - and i like it very much.

I'm trying to work with esp8266.

therefore: I have downloaded and installed the board for the esp8266 in the Arduino IDE; so far so good: but when I try to compile a sketch I have this message :



exec: "python": executable file not found in $PATH
Error compiling for board Generic ESP8266 Module.


btw:... It's the same message for every esp8266 board. If I choose another board (Genuino etc.) it works without any issues.

I have checked the $PATH and it seems that python is included :



echo $PATH
[...]:/usr/bin/python


Python is installed correctly see the corresponding data



>python
Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.


Well i look forward to hear from you ?

lutz-muellerrs
March 3rd, 2020, 12:35 AM
Hi,

did you find a solution? Where can I find to set the path in arduino ide?

Skaperen
March 5th, 2020, 05:52 AM
try:


ls -dl /usr/bin/python*

python version 2 became end-of-life on 1 Jan 2020. minimal systems perhaps no longer include python version 2 which used the command name "python". python version 3 (the only version any supported software should be using) uses the command name "python3".