'GTK module not found in Python (PyCharm)

How can I avoid the following error:

GTK module not found in Python (PyCharm), please see the snippet below. This answer hasn't helped. (Still cannot find gtk in pip.)

enter image description here



Solution 1:[1]

if you are using pyhon 3.0+ then import this library like this: from gi.repository import Gtk

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 debugger