Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用python2.7一切都很好。当我将解释器更改为python3.2PyCharm 时无法导入 Gtk。它打印“未解决的参考”。我正在尝试使用代码导入 gtk
python2.7
python3.2
from gi.repository import Gtk