Answer the question
In order to leave comments, you need to log in
ImportError: No module named 'cv2' error when trying to use the OpenCV package after installing on Python 3.6. How to get rid?
Installed the OpenCV 3.4.1 package via pip. The installation was successful. OS - Windows 7, 64-bit.
In cmd.exe the module is located:
import cv2
print(cv2.__version__)
Answer the question
In order to leave comments, you need to log in
Most likely you have created a virtual environment. And cv2 installed globally. In cmd, source your environment and do pip for it.
If python2 is installed on the computer, opencv could be installed on it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question