Modulenotfounderror: No Module Named 'cv2' Despite Installation
When I import cv2 in Python I get ModuleNotFoundError: No module named 'cv2' I installed cv2 with pip3 install opencv-python When I try to install it again, it says Requirement
Solution 1:
Try installing with your OS's package manager (notice the word order: python
before opencv
):
sudo apt-get install python-opencv
This worked for me on Ubuntu 18. I also was unable to get it to work using pip
.
Post a Comment for "Modulenotfounderror: No Module Named 'cv2' Despite Installation"