Answers for "opencv is build ut modulenotfounderror: no module named 'cv2'"

C
23

ModuleNotFoundError: No module named 'cv2'

To solve this run the following
# main opencv
pip install opencv-python
# contrib package for the extra features
pip install opencv-contrib-python

The official installation instructions are on the opencv website.
More info can be found here: 
https://www.pyimagesearch.com/opencv-tutorials-resources-guides/
Posted by: Guest on June-26-2020
0

no module named 'cv2' visual studio code

press ctrl + ~ . By that you will be on terminal.
In terminal, type the command
pip install opencv-python
Posted by: Guest on July-22-2021

Code answers related to "opencv is build ut modulenotfounderror: no module named 'cv2'"

Code answers related to "C"

Browse Popular Code Answers by Language