Results 1 to 3 of 3

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

  1. #1
    Join Date
    Jan 2011
    Beans
    78

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

    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 :


    Code:
    
    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 :

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

    Python is installed correctly see the corresponding data

    Code:
    
    >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 ?
    Last edited by dilbert_one; October 16th, 2019 at 11:06 PM.

  2. #2
    Join Date
    Mar 2020
    Beans
    1

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

    Hi,

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

  3. #3
    Join Date
    Jan 2010
    Location
    Wheeling WV USA
    Beans
    2,023
    Distro
    Xubuntu 20.04 Focal Fossa

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

    try:
    Code:
    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".
    Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •