I bought a Pi5 to try to get started with YOLO object detection as explained in Core’s tutorial. When loading the ultralytics package it gets stuck with an error message detailed in the image. I have repeated the pip install ultralytics[export] command several times, but the installation gets stuck again at the same place with the same error message.
Recent Ultralytics updates to the package have broken it, and until its fixed it will keep giving the “Dependency resolution exceeded maximum depth” error. This line installs a version from a few months ago but should work fine with what’s explored in the video.