using opencv with python 3.4 on Windows 7

StudentCV report abuse __ edited

Here is a quick hack for using opencv and python 3.4 on a Windows 7 PC. Simply follow the steps below: 

install python 3.4

to use pip : go to the system variables and click "new". name the variable "pip" and the path should be the path to your "python34\Scripts" folder.

install numpy 

enter "pip install numpy" into the cmd

download the right opencv version from  http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv

open cmd

enter "pip install *full path of opencv wheel" in the cmd

start python (either the idle or in the cmd) and enter "import cv2"

if there is no error, the instalation was successful.

 

Comments
StudentCV report abuse
P.S. tested on an Advantech AIIS-3410P. Thanks Advantech!

Answers

StudentCV report abuse

Short update:

As an even easier approach you caninstall Miniconda on your machine and get OpenCV up and running with these two commands:

conda install -c menpo numpy

conda install -c menpo opencv3

Add Answer

Need support?

Just drop us an email to ... Show more