You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run utils_gui/image_viewer.py script this is what I get:
python utils_gui/image_viewer.py
/home/daniel/helit/utils_gui/viewer.py:16: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, Gdk, GdkPixbuf
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
And it opens a blank image.
I'm running the code on ubuntu 17.04 x64
Would appreciate any type of help.
The text was updated successfully, but these errors were encountered:
That probably means you need to install the python gobject interface for cairo. Google suggests either 'sudo apt-get install python-gobject-cairo' or 'sudo apt-get install python-gi-cairo' should work.
When I run
utils_gui/image_viewer.py
script this is what I get:And it opens a blank image.
I'm running the code on ubuntu 17.04 x64
Would appreciate any type of help.
The text was updated successfully, but these errors were encountered: