I'm having issues with using the esp-idf extension in visual studio code. I have a linux distro (latest version of Ubuntu with KDE desktop). I recently upgraded my distro to kubuntu 24.04, which broke visual studio code. I then uninstalled it and re installed it. This seemed to fix the problem and I'm now able to build and run apps on my desktop that I've developed in C and C++
I then re installed the ESP-IDF extension and checked that I had all of the pre requisite elements installed as well. All seemed to be working fine until I came to try to build a project. I received the following error message
CMake Error at /home/mike/esp/v5.2.1/esp-idf/tools/cmake/build.cmake:544 (message):
/home/mike/.espressif/python_env/idf5.2_py3.10_env/bin/python: Error while
finding module specification for 'idf_component_manager.prepare_components'
(ModuleNotFoundError: No module named 'idf_component_manager')
Call Stack (most recent call first):
/home/mike/esp/v5.2.1/esp-idf/tools/cmake/project.cmake:605 (idf_build_process)
CMakeLists.txt:6 (project)
I was able to successfully flash a project that was already built correctly to an esp32 chip, but if I tried to re build this project (without making changes) I got the above error.
What do I do to resolve this issue? Any suggestions would be gratefully received.
esp-idf doesn't work in visual studio code after linux upgrade
-
- Posts: 1
- Joined: Sun Sep 22, 2024 10:48 am
Who is online
Users browsing this forum: No registered users and 230 guests