opencv does not work in Python 2.7 (Bug #3170)


Added by Sergei Belousov over 11 years ago. Updated over 11 years ago.


Status:Done Start date:2013-07-23
Priority:High Due date:
Assignee:Andrey Pavlenko % Done:

0%

Category:python bindings
Target version:-
Affected version:branch 'master' (2.9) Operating System:Windows
Difficulty: HW Platform:x64
Pull request:

Description

When you call 'import cv2', python falls with the error:
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define init function (initcv2)

OS: Windows 7 x64
OpenCV: 2.4 x64
Python: 2.7 x64


Related issues

duplicates Bug #3059: Bug Python binding x64 / Windows 7 Done 2013-05-30

Associated revisions

Revision 3bafe646
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3170 from ElenaGvozdeva:ocl_fix

History

Updated by Ivan Korolev over 11 years ago

Hi Sergei,
Thank you for your bug report, please ask your question at http://answers.opencv.org/questions/.

  • Assignee set to Ivan Korolev
  • Status changed from New to Open
  • Category set to python bindings
  • Priority changed from High to Low

Updated by Alexander Mordvintsev over 11 years ago

Here is the related discussion http://answers.opencv.org/question/14306/bug-python-binding-x64-windows-7/
This issue breaks python support on Windows -> changing priority to high.

  • Priority changed from Low to High

Updated by Ivan Korolev over 11 years ago

I'm afraid that now we have limited resources. So if you could investigate this bug and send a pull request your help would be really appreciated! This wiki page may be useful for you: http://www.code.opencv.org/projects/opencv/wiki/How_to_contribute

  • Assignee changed from Ivan Korolev to Andrey Pavlenko

Updated by Alexander Mordvintsev over 11 years ago

  • Status changed from Open to Done
  • Affected version changed from branch 'master' (2.4.9) to branch 'master' (2.9)

Also available in: Atom PDF