[MacPorts] #60413: py38-gobject3 @3.28.3_0 Can't import Gtk
MacPorts
noreply at macports.org
Wed Apr 29 17:53:02 UTC 2020
#60413: py38-gobject3 @3.28.3_0 Can't import Gtk
-------------------------------+---------------------------
Reporter: InvisibleFunction | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: py38-gobject3
-------------------------------+---------------------------
I'm running Mac OS 10.14.6 with Xcode Version 11.3.1 (11C504).
I was having trouble running a python app but I was able to reproduce the
problem by following a simple Python GTK tutorial. I'm following the steps
from https://python-
gtk-3-tutorial.readthedocs.io/en/latest/introduction.html
I've got these installed:
{{{
[me at laptop ~]$ port echo installed | grep -i -e "py38-gobject" -e "^gtk3"
-e "^python38"
gtk3 @3.24.18_0+x11
py38-gobject3 @3.28.3_0
python38 @3.8.2_0
}}}
and trying to run this causes a Traceback (which I'll attach):
{{{
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60413>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list