运行python+opencv+pyqt5编写的程序报错:
(python3:1189): GLib-GObject-WARNING **: 16:04:17.951: cannot register existing type 'GdkDisplayManager'
(python3:1189): GLib-CRITICAL **: 16:04:17.951: g_once_init_leave: assertion 'result != 0' failed
(python3:1189): GLib-GObject-CRITICAL **: 16:04:17.951: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
无意间发现了一篇宝藏博客,解决了几天的烦恼,推荐一下:
Python, 树莓派, cv2: Glib-Gobject-Warning **: cannot register existing type ‘GDKDisplayManager‘