opencv3 on python 3.4 (cv3.pyd please!!)

asked 2015-10-04 08:30:55 -0600

Hello everybody, I use the following configuration on windows

 *Python 3.4.3 |Anaconda 2.3.0 (64-bit)| (default, Mar  6 2015, 12:06:10) [MSC v.1600 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
ImportError: Module use of python27.dll conflicts with this version of Python. Python 3.4.3 |Anaconda 2.3.0 (64-bit)| (default, Mar  6 2015, 12:06:10) [MSC v.1600 64 bit (AMD64)] Type "copyright", "credits" or "license" for more information.

    IPython 3.2.0 -- An enhanced Interactive Python. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://anaconda.org ?         -> Introduction and overview of IPython's features. %quickref -> Quick reference. help      -> Python's own help system. object?   -> Details about 'object', use 'object??' for extra details. %guiref   -> A brief reference about the graphical user interface.*

I try :

import cv2

and got this error :

ImportError: Module use of python27.dll conflicts with this version of Python.

I used Opencv3 : Capture.PNG

Where I can find something like cv3.pyd ?

Thank you for your help !

edit retag flag offensive close merge delete

Comments

"Where I can find something like cv3.pyd ?" - there is no such thing. the opencv3 version is still called cv2.pyd

also, it looks like you're trying with the prebuild opencv binaries, which only support python2.7. if you want to use python3, you have to build opencv (and cv2.pyd) from src.

last, rather try with a standard python, not anaconda.

berak gravatar imageberak ( 2015-10-05 00:51:19 -0600 )edit

Thank you for you answer. But even if I try to build opencv from src (and all the additional programs) it doesn't work. It works only for Opencv2 with python 2.7.

sebastien.denneulin gravatar imagesebastien.denneulin ( 2015-10-25 06:33:24 -0600 )edit