Question about Python version used in IDF

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Question about Python version used in IDF

Postby Deouss » Fri Feb 28, 2020 1:27 pm

So I updated recently some repositories - actually ESP8266_RTOS_SDK which got very nice CMake support and runs awesome.
However I got many errors before I managed to update all required packages - errors were saying Python2.7 is end of life.
All packages loaded fine but I had to explicitly run Python2.7 for IDF.
Are you planning to use newest version of Python soon?

Thanks

User avatar
ESP_krzychb
Posts: 394
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Question about Python version used in IDF

Postby ESP_krzychb » Fri Feb 28, 2020 7:54 pm

Deouss wrote:
Fri Feb 28, 2020 1:27 pm
All packages loaded fine but I had to explicitly run Python2.7 for IDF.
Are you planning to use newest version of Python soon?
Hi Deouss

You can switch to Python 3, it is already supported, ref. https://github.com/espressif/esp-idf/is ... -586862745

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: Question about Python version used in IDF

Postby Deouss » Fri Feb 28, 2020 11:23 pm

Thanks Krzysiek!
I didn't even notice Python 3 works with idf already)
I was able to flash esp8285 with idf.py installed from esp32 toolchain using old Python 2.7

Who is online

Users browsing this forum: Bing [Bot], ok-home and 138 guests