“espidf.constraints.v5.4.txt doesn’t exist” error

Sysprogs forums Forums VisualGDB “espidf.constraints.v5.4.txt doesn’t exist” error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36481
    gigamegawatts
    Participant

    I updated VisualGDB to the latest ESP32 package today.

    Afterwards, when I loaded an ESP32 project I got an error during the CMake configuration:

    -- Checking Python dependencies...
    ERROR: C:\Users\gigam\.espressif\espidf.constraints.v5.4.txt doesn't exist. Perhaps you've forgotten to run the install scripts. Please check the installation guide for more information.
    CMake Error at C:/SysGCC/esp32/esp-idf/v5.4/tools/cmake/build.cmake:422 (message):
    Some Python dependencies must be installed. Check above message for
    details.
    Call Stack (most recent call first):
    C:/SysGCC/esp32/esp-idf/v5.4/tools/cmake/build.cmake:560 (__build_check_python)
    C:/SysGCC/esp32/esp-idf/v5.4/tools/cmake/project.cmake:717 (idf_build_process)
    CMakeLists.txt:6 (project)

    I fixed the error by copying espidf.constraints.v5.4.txt from c:\espressif.

    I remember getting the same type of error after installing the previous ESP32 update package.

    Is there something wrong with my VisualGDB configuration that is causing it to look in the wrong directory?

    (I’m using the latest version of VisualGDB: 6.0R7).

    Thanks,

    Dan.

    #36483
    support
    Keymaster

    Please try creating a new project using the wizard. It should initialize the Python environment correctly.

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