6

When I used python2.7 everything was fine. When I change interpreter to python3.2 PyCharm can't import Gtk. It prints "Unresolved reference". I'm trying import gtk with code

from gi.repository import Gtk
ergosys
  • 47,835
  • 5
  • 49
  • 70
dragon7
  • 1,057
  • 9
  • 23
  • You need to import it as well. Go to the terminal tab and do pip install pygObject or something like that and then import it – Payam30 Jan 21 '19 at 21:49

0 Answers0