Python with ESP IDF 6.0

Sysprogs forums Forums VisualGDB Python with ESP IDF 6.0

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37204

    I have a project with ESP32 with IDF 5.4 using Python package 3.8.10

    I installed new Python package from VisualGDB (3.11.5)

    Then I tryed to update to IDF 6.0 so I downloaded it from VisualGDB.
    Then  I tryed to use the “Rebuild virtual Python environment push button on VisualGDB ESP_IDF Configuration Setting and I have thius error:

    Run “C:\Users\bope02\AppData\Local\VisualGDB\Python-3.8.10\python.exe c:\SysGCC_R1\esp-idf/v6.0\tools\idf_tools.py install-python-env” in directory “” on local computer
    ————————–
    ESP-IDF supports Python 3.10 or newer but you are using Python 3.8.10. Please upgrade your installation as described in the documentation.
    ————————–
    Command exited with code 1

    But I updated t!!

    I con’t force the use of updated Python with IDF 6.0.
    How I can do it?

    Thank you

     

     

     

    #37205
    support
    Keymaster

    Hi,

    The recent ESP-IDF versions have more specific Python requirements than the older ones, so we created a separate consolidated toolchain mode that fully mirrors the setup used by the Espressif’s VS Code extension, and provides maximum compatibility.

    Please consider deleting the existing toolchain/Python and creating a new project by selecting the consolidated toolchain. Once it works, you can try switching the existing project to ESP-IDF 6.0. That said, switching between ESP-IDF versions can require some adjustments to the project, so please make sure you have a good backup before you begin the conversion.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.