which python version should i install on my system and how.

asked 2016-12-15 00:08:02 -0600

RAHUL gravatar image

updated 2016-12-15 03:07:46 -0600

i have install open cv version 2.4.9 and visual studio 2010 X86,i have windows 8 64 bit system , now i want to configure open cv with python i have tried this lib and software

matplotlib-1.3.0.win32-py2.7

numpy-1.7.1-win32-superpack-python2.7

python-2.7.12 shel (for python x64) results are : Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information.

import numpy import matplotlib import cv2

Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> import cv2 ImportError: DLL load failed: %1 is not a valid Win32 application.

python-2.7.12 shel (for python x86) results are : Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information.

import numpy import matplotlib import cv2

Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> import cv2 ImportError: DLL load failed: %1 is not a valid Win32 application.

edit retag flag offensive close merge delete

Comments

sounds like you tried to use the 64bit cv2.pyd instead of the 32bit one

berak gravatar imageberak ( 2016-12-15 02:22:18 -0600 )edit

i have used both 32 bit and 64 bit cv2.pyd file alternately . can you suggest me anything else that gonna be work for me

RAHUL gravatar imageRAHUL ( 2016-12-19 00:23:51 -0600 )edit