Problems installing ultralytics packages on Pi 5

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.

. Is there an easy solution because I have no idea how to add lower bounds to constrain dependencies?
Thanks
Richard

Hey @Richard83832

We have a forum topic for that video exploring it, but the fix is to instead use this line here:

pip install ultralytics==8.3.100

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.

Let us know how it goes!

1 Like

Hi Jaryd
Thanks for responding so promptly. I posted the following question on the forum that that you suggested:

1 Like