Ask Your Question

braintjy's profile - activity

2017-03-29 13:20:15 -0600 asked a question Segmentation fault when you import cv2 in Python

Hi,

I installed opencv and python on the raspberry pi with the kinetic version. My Python version is 2.7.9. When I do a import cv2 after I start python, it gives a segmentation fault.

However, when I start python using 'sudo python', there is no segmentation fault. I did a gdb on python, and the error shown was: Program received signal SIGILL, Illegal instruction. 0x6be85de8 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 (gdb) continue Continuing.

Program received signal SIGSEGV, Segmentation fault. 0x6efdb678 in ?? () from /usr/lib/arm-linux-gnueabihf/libQtGui.so.4