Reputation: 41
When I try cv2 using
pip install cv2
it shows the error written in the title.
My code is a python code using opencv.
Upvotes: 3
Views: 13683
Reputation: 911
You need to install opencv
, not cv2
.
For python2:
pip install opencv-python
For python3
pip3 install opencv-python
Upvotes: 6