Python and cv2 - segmentation fault: 11 (Bug #3619)


Added by Alberto Cereser almost 11 years ago. Updated almost 10 years ago.


Status:Cancelled Start date:2014-03-21
Priority:Normal Due date:
Assignee:Alberto Cereser % Done:

0%

Category:ios
Target version:-
Affected version:branch 'master' (3.0-dev) Operating System:Mac OSX
Difficulty: HW Platform:x64
Pull request:

Description

Hi, after upgrading XCode to version 5.1 and installing Anaconda I keep getting this error when I try to import cv2: Segmentation fault: 11. I downgraded Xcode to 5.0.2 and I still have it. Is there a way to fix this? Thanks!


History

Updated by Daniil Osokin almost 11 years ago

Hi Alberto, looks like everything shold work. Could you try it without Anaconda? Also we need more information, wich OpenCV version do you use?

  • Assignee set to Alberto Cereser
  • Category set to ios

Updated by Daniil Osokin almost 11 years ago

  • Status changed from New to Incomplete

Updated by Eduard Feicho over 10 years ago

Alberto Cereser wrote:

Hi, after upgrading XCode to version 5.1 and installing Anaconda I keep getting this error when I try to import cv2: Segmentation fault: 11. I downgraded Xcode to 5.0.2 and I still have it. Is there a way to fix this? Thanks!

As far as I know Anaconda comes with its own python version or something like that. The system would then get confused having one interpreter mixed with importing modules from another interpreter version.

Updated by Vadim Pisarevsky almost 10 years ago

we can not support every custom python distribution. With the default python everything works fine. Try to disable all 3rd-party python installs before building/using opencv python bindings

  • Status changed from Incomplete to Cancelled
  • Affected version changed from 2.4.8 (latest release) to branch 'master' (3.0-dev)

Also available in: Atom PDF