Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

Segmentation fault when you import cv2 in Python

$
0
0
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

Viewing all articles
Browse latest Browse all 2088

Trending Articles