[Bug] Final project: Object Detection Node

This is an error report.


Screenshot of the error


Error details

When I try to run this node, I got this error: "No module named 'ultralytics'., I copy the code from the solution but still I get the same error.

Hi @7uthaifa ,

I believe that the ultralytics package is not installed in your course environment.

You can install that yourself, by running the following commands on the terminal:

sudo apt update
python3 -m pip install ultralytics

Once installed, you can restart the program with the corresponding command and it should work!

Let me know if you still have any issues.

Regards,
Girish

1 Like

Thank you for your replay.
I try this commands but still not working.


When I try to run the similar code at unit 6 it works but I don’t know what is the problem in unit7: Final project workspace

Sorry for the late response we are working on seeing what happened there keep you informed and again sorry for the late response

It seems that that library is not installed in teh project, they use slightly different envirnments and that library wa snot installed

Just deployed the fix to this issue. The module was installed but without user permissions. You should now be bale to import YOLO in Unit 7.

By the way if the robot doesn’t appear the first time in the simulation, just hit the relaunch simulation button and it should appear then. Its related to how Gazebo launches robots first time.

Again sorry for the inconvenience