按照 https://anaconda.org/conda-forge/pygobject 安装
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
I get following error message:
ValueError: Namespace Gtk not available
后来在stackoverflow上有个帖子说:
conda install -c pkgw/label/superseded gtk3
安装、成功、谢谢!
网友评论