espressif / esp-iot-solution

Espressif IoT Library. IoT Device Drivers, Documentations And Solutions.
Apache License 2.0
1.8k stars 740 forks source link

I had an error running the usb\device\usb_webcam> instance and I pulled down all the code. There will still be this error, I don't know what went wrong (AEGHB-631) #352

Closed garyToo closed 2 weeks ago

garyToo commented 2 months ago

Answers checklist.

General issue report

I had an error running the usb\device\usb_webcam> instance and I pulled down all the code. There will still be this error, I don't know where the problem is, the error occurred when I ran the idf.py set-target esp32s3. This is the error picture. Please help me 微信截图_20240420140520

leeebo commented 2 months ago

@garyToo the error caused byidf-component-manager v1.5.*, which Incorrectly resolved component's dependencies from yml file, you can workaround this by running pip install "idf-component-manager==1.4.2" in the IDF environment. Then please delete build managered_components dependencies.lock and build again

garyToo commented 2 months ago

Thank you for your guidance. Following your advice, I first executed 'pip install "idf-component-manager==1.4.2"' and it was successful. Then, I deleted the build files in usb_webcam. Next, I searched the entire esp-iot-solution project and couldn't find the managered_components and dependencies.lock folders. I had to proceed with executing 'idf.py set-target esp32s3' command. However, it encountered a new issue. ss

garyToo commented 2 months ago

@leeebo Can you help me take a look at my issue? I'm a beginner and I've been stuck on this problem for several days

leeebo commented 1 month ago

@garyToo, Please use pip list to confirm the version of idf-component-manager you installed (run command after export IDF environment). We have no problem when build under IDF 5.0 using idf-component-manager ==1.4.2