"no module named idf_component_manager" with clion
Posted: Sat Sep 09, 2023 8:16 pm
I'm trying to set up CLion to work with esp-idf's libraries and build system. This was working on one computer but I'm having trouble getting it setup on a different one.
I copied the hello_world directory into a new directory. I set the correct `IDF_PATH` value and set up my `PATH` the same way `export.ps1` does. When I go to load the cmake project the following error occurs:
Any ideas what's missing?
I copied the hello_world directory into a new directory. I set the correct `IDF_PATH` value and set up my `PATH` the same way `export.ps1` does. When I go to load the cmake project the following error occurs:
This occurs with the official windows installer, or from installing from a `git clone`.-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
-- Checking Python dependencies...
Python requirements are satisfied.
Constraint file: C:\Users\me\.espressif\espidf.constraints.v5.2.txt
Requirement files:
- C:\Users\me\esp\esp-idf\tools\requirements\requirements.core.txt
Python being checked: C:\Users\me\.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe
CMake Error at C:/Users/me/esp/esp-idf/tools/cmake/build.cmake:544 (message):
C:\Users\me\AppData\Local\Programs\Python\Python311\python.exe: Error while
finding module specification for 'idf_component_manager.prepare_components'
(ModuleNotFoundError: No module named 'idf_component_manager')
Call Stack (most recent call first):
C:/Users/me/esp/esp-idf/tools/cmake/project.cmake:548 (idf_build_process)
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
Any ideas what's missing?