How to install cv2 package
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
ModuleNotFoundError: No module named 'cv2'
How to solve this issue?
I use VSCode, but one time it worked on replit. Go to your shell and type "pip install opencv-python" And then type "import cv2" It should work. Who knows though because replit is updating regularly, and things are subject to change