Ask coding questions

← Back to all posts
How to install cv2 package
NikhilWagh96 (6)

I want to use python-opencv package, I also added it from the Packages to my requirements.txt. But when I run the code it shows me this error: package installation failure

Traceback (most recent call last):
File "python", line 1, in <module>
ModuleNotFoundError: No module named 'cv2'

How to solve this issue?

ndg63276 (0)

Try opencv-python?