Gtk_error for imshow in python

asked 2016-08-31 06:56:06 -0600

wzleong gravatar image

updated 2016-08-31 07:09:27 -0600

I am getting errors when I am using cv2.imshow in python. I am using opencv2.4.13. Would like to seek for advice on how should I fix it?

Below is the error message: ................................................................. Gtk-Error **: GTK 2.x symbols detected. Using GTK2.x and GTK3.x in the same process is not supported Trace/breakpoint trap (core_dumped)

edit retag flag offensive close merge delete

Comments

are you using something like pygtk together with cv2 ? then, indeed, you'll have to rebuild cv2 with the same gtk version, the "rest of your program" is using.

berak gravatar imageberak ( 2016-08-31 07:15:48 -0600 )edit