Have you tried using opencv-python-headless to avoid missing GUI dependencies instead of full opencv? None
Oh, I haven't tried this yet.
Thanks for the answer bro 👍
I'll try this.
It works like a piece of cake.
Thank you so much for the solution @<1570220844972511232:profile|ObnoxiousBluewhale25>
🙏
Hi, guys! I get the same error. But looks like the ultralytics
(YOLO) is dependent from the opencv-python
.
How did you resolve this dependency? In my case I get ModuleNotFoundError: No module named 'cv2'
after a simple replacement of the opencv-python
by the opencv-python-headless
.
For anybody who will get stuck on this issue in the future as well: None
Yeah, sorry for late replying. I solved my case also by uninstalling the opencv-python
and installing opencv-python-headless
as we stated above.