Page 1 of 1

ESP-IDF v4.4 will support Python 3.6 or newer

Posted: Tue Jun 22, 2021 11:17 am
by ESP_Roland
Hi all,

ESP-IDF is dropping support for the unmaintained Python 2.7, 3.4 and 3.5 versions. ESP-IDF v4.4 will support Python 3.6 or newer. Please be ready for the upgrade.

Windows

The Windows Tools Installer (https://dl.espressif.com/dl/esp-idf/?idf=4.4) installs a suitable Python for quite some time. The tool can be re-run if necessary for setting up a suitable environment. You can select an existing ESP-IDF to continue work on the same project.

MacOS

A suitable Python can be installed with MacPorts or Homebrew as outlined in the documentation: https://docs.espressif.com/projects/esp ... g-python-3

Linux

You can check that the Python package which comes with your distribution (https://docs.espressif.com/projects/esp ... requisites) is sufficient by running the following command:

Code: Select all

python3 --version
Please upgrade your distribution to an up-to-date version if the previous output was 3.5 or lower. If you are not able to make this upgrade then you can install a suitable Python from sources (https://www.python.org/downloads/) or through a Python version management system (for example https://github.com/pyenv/pyenv).

We hope that this step will make the package management easier and our customers will have better user experience. We are sorry for any inconvenience this upgrade might cause. Please report any issues here on the forums or in the issue tracker (https://github.com/espressif/esp-idf/issues).

Re: ESP-IDF v4.4 will support Python 3.6 or newer

Posted: Tue Jun 22, 2021 9:45 pm
by orbitcoms
Will ADF Framework v2.3 work with this new version of IDF when it is released?

Re: ESP-IDF v4.4 will support Python 3.6 or newer

Posted: Wed Jun 23, 2021 7:58 pm
by ESP_Roland
I'm not an ESP-ADF developer, but the latest version seems to be compatible with ESP-IDF versions v3.3.2, v4.0 and v4.1 (https://docs.espressif.com/projects/esp ... ut-esp-adf). That means it isn't using yet an affected version of ESP-IDF.

Re: ESP-IDF v4.4 will support Python 3.6 or newer

Posted: Tue Mar 22, 2022 9:00 pm
by w3llschmidt
What did im wrong?

ESP-IDF supports Python 3.7 or newer but you are using Python 2.7.17. Please upgrade your installation as described in the documentation.

robotron@robotron:~/Dokumente/esp-idf$ python --version
Python 3.6.9


Thats really anoying.

Re: ESP-IDF v4.4 will support Python 3.6 or newer

Posted: Wed Mar 23, 2022 8:55 am
by ESP_Roland
Have you set an alias for "python"? That is not supported right now.

Or how did you install "python"?

What operating system (and version) are you using.

Re: ESP-IDF v4.4 will support Python 3.6 or newer

Posted: Wed Mar 23, 2022 9:54 pm
by w3llschmidt
ESP_Roland wrote:
Wed Mar 23, 2022 8:55 am
Have you set an alias for "python"? That is not supported right now.
Hi Roland, yes i did. I fixed this based on this:

https://linuxize.com/post/how-to-instal ... -debian-9/

Now its working.

Thx!