GTK+ or PyGobject installation



Hi,
I use debian 9.3 and PyCharm IDE .The python3-gi labraries and pygobject is installed with synaptic now when I am going to import like this :
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
in the third line there is no Gtk in it I just have 
absolute_import and DynamicImporter.
I use python3.x what should I do now.

python3-gi-cairo ,python3-gi-dbg ,python3-gi are installed too.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]