My experience with OpenSource & My Hobbies
A Blog for technical Linux, shell, php, mysql, python, OpenSource | Career | Books | Movies
Pages
Home
Books
Movies
Travel & Photography
Drawings & Cartoon
My Interests
Do you know?
Customized search within this blog
Monday, November 12, 2018
How to fix "Use gi.require_version('Gtk', '3.0') before import" error
Error:
gi.require_version error
Solution:
Replace the line
"from gi.repository import Gtk"
with
"import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk "
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)