ESP-IDF installation on Ubuntu 24.04

kazham
Posts: 1
Joined: Sun Sep 22, 2024 10:26 am

ESP-IDF installation on Ubuntu 24.04

Postby kazham » Sun Sep 22, 2024 10:32 am

Hi!
Can anyone help me to go through the steps of installing ESP-IDF for ESP8266 RTOS SDK under Ubuntu 24.04?
There are some problems with Python modules and I don't know how to overcome them.
Thanks in advance!

mjoy99
Posts: 2
Joined: Mon Feb 03, 2025 8:09 pm

Re: ESP-IDF installation on Ubuntu 24.04

Postby mjoy99 » Mon Feb 03, 2025 8:24 pm

Not sure if you got this working, but I just went through a bunch of issues similarly getting this running on Ubuntu under WSL2 on windows.

The prerequisites for python are deprecated with everything going to python3 now.

in the guide there is :
Ubuntu and Debian:

Code: Select all

sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-serial
this will give you an error for python and python-serial. you should change this to python3 and python3-serial (or python2 if you have that installed). There is also another package, python-is-python3, that you will need because all the scripts are built using python, whereas if you have python3 it won't work correctly.

The pip installs may cause you some issues too. You can either try it with a venv or

Code: Select all

pip install with -- break-system-packages
.

I thik the getting started documentation is pretty old and hasn't been updated for newer versions of python.

Who is online

Users browsing this forum: No registered users and 16 guests