Ask coding questions

← Back to all posts
How to install cv2 package
NikhilWagh96

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?

Voters
hs21423
DavidShen2
shunchinchin
PragunSrivasta1
avathecutepoodl
yskov
IsmaCtag
NikhilWagh96
Comments
hotnewtop
ndg63276

Try opencv-python?