在 Ubuntu 17.01 中导入 gtk.glade 时会引发 RuntimeError: sys.path must be a list of directory names。有任何想法吗?也许我缺少依赖项或其他东西。
最佳答案
您不应该使用 libglade 或 pygtk,因为它们是死项目。使用现代 PyGObject、Gtk3 和 GtkBuilder:https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/Builder.html
关于python - 导入 gtk.glade Ubuntu 时出现运行时错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44169237/