Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python's AttributeError: 'module' object has no attribute 'require_version'

I am using Python3.4. I am trying to open an application which supposedly uses Python and can't seem to get it working. I do receive the following error:

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'
like image 392
Kalis Avatar asked Apr 09 '15 22:04

Kalis


1 Answers

Install the dependency with pip install PyGTK, as João Cartucho suggests.

like image 111
J_H Avatar answered Nov 02 '22 17:11

J_H