How to install PyGUI for Python3?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I want to install PyGUI for Python3 on Fedora 23.
From PyGUI:
Linux - requires pygtk (tested with pygtk-2.14.0 and Gtk+-2.14.7).
And by going to PyGTK it says:
Note: New users are encouraged to use GTK+3 through the PyGObject bindings instead of using PyGTK with GTK+2. Windows users may still want to keep using PyGTK until more convenient installers are published.
So I managed to install pygobject (3.18.2)
and PyGUI (2.5.3)
for the Python3 environment. To make this clear, when I run python3 -m pip list
I got (+ other stuff...):
- pygobject (3.18.2)
- PyGUI (2.5.3)
And I thought I was done with that but when I download and try the blobedit.py example I got the following error (complete error log here):
PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
Sigh. I went to Python3 and try to import gtk
and failed to found the module.
So, what would be the necessary steps for installing PyGUI for Python3 in Fedora 23? I'll appreciate any help! Thank you!
fedora python python3
add a comment |Â
up vote
1
down vote
favorite
I want to install PyGUI for Python3 on Fedora 23.
From PyGUI:
Linux - requires pygtk (tested with pygtk-2.14.0 and Gtk+-2.14.7).
And by going to PyGTK it says:
Note: New users are encouraged to use GTK+3 through the PyGObject bindings instead of using PyGTK with GTK+2. Windows users may still want to keep using PyGTK until more convenient installers are published.
So I managed to install pygobject (3.18.2)
and PyGUI (2.5.3)
for the Python3 environment. To make this clear, when I run python3 -m pip list
I got (+ other stuff...):
- pygobject (3.18.2)
- PyGUI (2.5.3)
And I thought I was done with that but when I download and try the blobedit.py example I got the following error (complete error log here):
PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
Sigh. I went to Python3 and try to import gtk
and failed to found the module.
So, what would be the necessary steps for installing PyGUI for Python3 in Fedora 23? I'll appreciate any help! Thank you!
fedora python python3
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I want to install PyGUI for Python3 on Fedora 23.
From PyGUI:
Linux - requires pygtk (tested with pygtk-2.14.0 and Gtk+-2.14.7).
And by going to PyGTK it says:
Note: New users are encouraged to use GTK+3 through the PyGObject bindings instead of using PyGTK with GTK+2. Windows users may still want to keep using PyGTK until more convenient installers are published.
So I managed to install pygobject (3.18.2)
and PyGUI (2.5.3)
for the Python3 environment. To make this clear, when I run python3 -m pip list
I got (+ other stuff...):
- pygobject (3.18.2)
- PyGUI (2.5.3)
And I thought I was done with that but when I download and try the blobedit.py example I got the following error (complete error log here):
PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
Sigh. I went to Python3 and try to import gtk
and failed to found the module.
So, what would be the necessary steps for installing PyGUI for Python3 in Fedora 23? I'll appreciate any help! Thank you!
fedora python python3
I want to install PyGUI for Python3 on Fedora 23.
From PyGUI:
Linux - requires pygtk (tested with pygtk-2.14.0 and Gtk+-2.14.7).
And by going to PyGTK it says:
Note: New users are encouraged to use GTK+3 through the PyGObject bindings instead of using PyGTK with GTK+2. Windows users may still want to keep using PyGTK until more convenient installers are published.
So I managed to install pygobject (3.18.2)
and PyGUI (2.5.3)
for the Python3 environment. To make this clear, when I run python3 -m pip list
I got (+ other stuff...):
- pygobject (3.18.2)
- PyGUI (2.5.3)
And I thought I was done with that but when I download and try the blobedit.py example I got the following error (complete error log here):
PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
Sigh. I went to Python3 and try to import gtk
and failed to found the module.
So, what would be the necessary steps for installing PyGUI for Python3 in Fedora 23? I'll appreciate any help! Thank you!
fedora python python3
fedora python python3
asked Mar 25 '16 at 3:50
gglasses
200212
200212
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
What does the error say? Do what it says.gi.require_version('Gtk', '3.0')
Put that line in and the error will disappear.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
What does the error say? Do what it says.gi.require_version('Gtk', '3.0')
Put that line in and the error will disappear.
add a comment |Â
up vote
0
down vote
What does the error say? Do what it says.gi.require_version('Gtk', '3.0')
Put that line in and the error will disappear.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
What does the error say? Do what it says.gi.require_version('Gtk', '3.0')
Put that line in and the error will disappear.
What does the error say? Do what it says.gi.require_version('Gtk', '3.0')
Put that line in and the error will disappear.
answered Jan 21 at 19:54
Kevin Gray
12
12
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f272043%2fhow-to-install-pygui-for-python3%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password