I'm writing a python program with matplotlib, and I'm getting this error:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
(python:6304): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib >version too old (micro mismatch)
(python:6304): Gtk-WARNING **: Loading IM context type 'ibus' failed
(python:6304): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
(python:6304): Gtk-WARNING **: Loading IM context type 'ibus' failed
(python:6304): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
(python:6304): Gtk-WARNING **: Loading IM context type 'ibus' failed
The program finishes executing, but the error won't go away. I'm running Ubuntu 16.
I tried reinstalling Glib, but nothing changed. I searched for help online, but couldn't find a solution. I'm a noob and I have no clue how to resolve this.
Can anyone help me out? I really appreciate your time!
Assertion 'GTK_SOMETHING (widget) != NULL' failed
is a pretty good indicator you screwed up something with your code, but it doesn't crash the program either. – PrairieCommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8wwtm3vb/PyGTK/
, and anaconda says pygobject3 3.18.2* is in conflict with python 3.5. Any suggestions? I have no idea what I'm doing. – Fugazysudo apt-get install python-gtk python-gobject python3-gobject gir1.2-gtk-2.0
, though some of those package names may be wrong). For python-gobject, you'll need to change the import lines. – Prairie