Ask coding questions

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

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:
Repl.it: package installation failure

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

How to solve this issue?

Commentshotnewtop
1
ndg63276 (0)

Try opencv-python?