Ask Your Question

Compiling Issue: Anaconda 1.4.0

asked 2013-04-03 14:23:22 -0500

donei01 gravatar image


I installed Anaconda-1.4.0-Windows-x86_64 (python 2.7) and then extracted opencv 2.4.4. I have a 64 bit Windows 7, and I followed these instructions about how to install opencv on windows: (created the env. vars, setup the paths according to the drive location where I installed, everything as listed...).

However, when I try to import cv2 from my inotebook (the codefile is in a random location on my drive and I call the ipython.exe from the scripts folder to start my file from its source folder). After I compile the file, I am getting the following error: ImportError: No module named cv2.

Can someone give me advice about what I am doing wrong?

Thank you!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-03 17:07:33 -0500

Guanta gravatar image

Create a new user environment variable with the name PYTHONPATH and set it to the path to the , e.g. C:\opencv\build\python\2.7 . Hope that solves it!

Btw: I think I answered a similar question already some while ago, so next time please search for your problems first.

edit flag offensive delete link more

Question Tools


Asked: 2013-04-03 14:23:22 -0500

Seen: 1,108 times

Last updated: Apr 03 '13