Python的AttributeError:'module'对象没有属性'require_version'

Kal*_*lis 7 python python-3.x

我在用Python3.4.我试图打开一个应用程序,据说使用Python,似乎无法让它工作.我收到以下错误:

Traceback (most recent call last):
  File "pychess", line 24, in <module>
    gi.require_version("Gtk", "3.0")
AttributeError: 'module' object has no attribute 'require_version'
Run Code Online (Sandbox Code Playgroud)

J_H*_*J_H 1

按照 Jo\xc3\xa3o Cartucho 的建议,使用 来安装依赖项pip install PyGTK

\n