My experience with OpenSource & My Hobbies
A Blog for technical Linux, shell, php, mysql, python, OpenSource | Career | Books | Movies
Pages
(Move to ...)
Home
Books
Movies
Travel & Photography
Drawings & Cartoon
My Interests
Do you know?
▼
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 "
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment