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

User avatar
ESP_Roland
Posts: 237
Joined: Tue Oct 09, 2018 10:28 am

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

Postby ESP_Roland » Tue Jun 22, 2021 11:17 am

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).

orbitcoms
Posts: 141
Joined: Fri Aug 03, 2018 10:08 pm
Location: Sydney, Australia

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

Postby orbitcoms » Tue Jun 22, 2021 9:45 pm

Will ADF Framework v2.3 work with this new version of IDF when it is released?

User avatar
ESP_Roland
Posts: 237
Joined: Tue Oct 09, 2018 10:28 am

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

Postby ESP_Roland » Wed Jun 23, 2021 7:58 pm

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.

w3llschmidt
Posts: 8
Joined: Tue Jan 23, 2018 4:56 pm

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

Postby w3llschmidt » Tue Mar 22, 2022 9:00 pm

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.

User avatar
ESP_Roland
Posts: 237
Joined: Tue Oct 09, 2018 10:28 am

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

Postby ESP_Roland » Wed Mar 23, 2022 8:55 am

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.

w3llschmidt
Posts: 8
Joined: Tue Jan 23, 2018 4:56 pm

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

Postby w3llschmidt » Wed Mar 23, 2022 9:54 pm

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!

Who is online

Users browsing this forum: Majestic-12 [Bot], MicroController, zelenecul and 88 guests