ModuleNotFoundError: No module named 'ultralytics' even after installing it

249 Views Asked by At

I have a Python program where the first line is the following:

from ultralytics import YOLO

I've already ran pip install ultralytics in my terminal, but I always get the following error on the above line:

ModuleNotFoundError: No module named 'ultralytics'

I've tried numerous things such as running in a different Python environment, uninstalling and reinstalling again, as well as verifying I'm using a version of Python that runs with ultralytics. Yet, the issue still persists. Does anyone know how to fix this issue?

0

There are 0 best solutions below