esp-iot-solution icon indicating copy to clipboard operation
esp-iot-solution copied to clipboard

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)

Open garyToo opened this issue 1 year ago • 3 comments

Answers checklist.

  • [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • [X] I have searched the issue tracker for a similar issue and not found a similar issue.

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

garyToo avatar Apr 20 '24 06:04 garyToo

@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

leeebo avatar Apr 20 '24 10:04 leeebo

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 avatar Apr 21 '24 09:04 garyToo

@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

garyToo avatar Apr 28 '24 01:04 garyToo

@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

leeebo avatar May 15 '24 00:05 leeebo