Reputation: 138
for python2, open cv library successfully added. But while i choose python3 i can't. Default version is python3.5. Here i have attached the screenshot.
ImportError: No module named 'cv2'
Upvotes: 1
Views: 230
Reputation: 2259
This seems to be installation problem. The python interpreter should the path of all libraries that are available for use. By default, the directory containing the python interpreter should be containing all the libraries that are compatible with that version. You should try this command which python3
to know the python3 installation path and see if the cv2 library installed there or not. You need to refer the how python interpreter finds the third part libraries.
Upvotes: 1