I'm trying to use GdkPixbuf.Pixbuf.new_from_file()
to create a new pixbuf
from file, but Python interpreter gives me the following error:
GLib.Error: g-invoke-error-quark: Could not locate gdk_pixbuf_new_from_file: 'gdk_pixbuf_new_from_file'
The strange thing is new_from_file_at_size()
doesn't give any error and works as expected.
I'm working under Windows 10, Python 3.4 and I have installed PyGObject
from here.