How to import cv2 in python3?

I’m using Windows, and I’m trying to install package cv2 for python3. I did a pip3 install opencv-python and it reports successful: But when I do the import cv2 from python3, it’s not found and I get weird errors: What am I doing wrong?

How to install xlrd in python3 library

I reckon the easiest/cleanest solution would be to use a tool that isolates your python environment, such as virtualenv Once installed, create a virtual env by specifying which version of python you want to use: $> virtualenv -p python3 env Note: puttin python3 directly works only for mac, with linux, you must specify the absolute path or your … Read more

tech