Ask Your Question

Revision history [back]

cv2 import error

System information (version)

  • OpenCV => 3.4.0
  • Operating System / Platform => RHEL 7.3
  • Compiler => gcc 4.8.5
  • Python => 2.7.5

Detailed description

I have created opencv-python rpm package following this tutorial. However it works fine on google cloud rhel server but when I try to install it on on-premise server I get this error.

>>> import cv2
Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
Import Error: /lib64/libgdk-3.so.0: undefined symbol: g_log_structured