I have installed the Open Computer Vision library on a Raspberry Pi 3 Model B with camera module, using these steps:
sudo apt-get update sudo apt-get upgrade sudo apt-get install python-setuptools sudo apt-get install python-pip sudo apt-get install ipython python-opencv python-scipy python-numpy python-pygame
I would like to use this in a project using Python 3.4.2 as supplied with the device, but the
"import cv2" statement (first line) is getting an error message
"ImportError: No module named 'cv2'".
This does not happen if the same file is run under Python 2.7.9, also on the Pi.