Python/OpenCV/Numpy/Scipy Installation for Windows

Note It is recommended that you get a 32 bit python even if you have a 64 bit system. This is because official numpy and scipy packages are available only in 32 bit, which will disagree with a 64 bit python. If you do want to use 64 bit python, you are welcome to try the unofficial numpy, scipy and opencv packages found here

C:\
C:\opencv\build\python\2.7\
  • Copy the file cv2.pyd and paste it into
C:\Python27\Lib\site-packages\
  • Verify your install. Run Python(command line) from the start menu, and type in:
import numpy
import scipy
import cv2
numpy.__version__
scipy.__version__
cv2.__version__

(note the double underscores) If this code executes without errors, you are all set!

Advertisements

One thought on “Python/OpenCV/Numpy/Scipy Installation for Windows

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s