Cannot find module cv2 when using OpenCV

I have installed OpenCV on the Occidentalis operating system (a variant of Raspbian) on a Raspberry Pi, using jayrambhia’s script found here. It installed version 2.4.5. When I try import cv2 in a Python program, I get the following message: The file cv2.so is stored in /usr/local/lib/python2.7/site-packages/… There are also folders in /usr/local/lib called python3.2 and python2.6, which could be a problem but I’m not … Read more

Cannot find module cv2 when using OpenCV

I have installed OpenCV on the Occidentalis operating system (a variant of Raspbian) on a Raspberry Pi, using jayrambhia’s script found here. It installed version 2.4.5. When I try import cv2 in a Python program, I get the following message: The file cv2.so is stored in /usr/local/lib/python2.7/site-packages/… There are also folders in /usr/local/lib called python3.2 … Read more

Cannot find module cv2 when using OpenCV

First do run these commands inside Terminal/CMD: Then the issue for the instruction below will be resolved For windows if you have anaconda installed, you can simply do or if you are on linux you can do : or Link1 Link2 For python3.5+ check these links : Link3 , Link4 Update:if you use anaconda, you may simply use this … Read more