gtk3 from python3

petr.2006 petr.2006 at centrum.cz
Fri Jan 27 19:46:45 UTC 2017


After todays update, I am not able to use gtk3 from python3.5:

pvmb:~ pet$ python
Python 3.5.3 (default, Jan 27 2017, 20:18:08) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> gi.require_version('Gtk', '3.0')
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/gi/__init__.py", line 122, in require_version
   (namespace, version))
ValueError: Namespace Gtk not available for version 3.0
>>> 

I tried to rebuild everthing using :
sudo port upgrade --force py35-gobject3

but this did not help.

Any hint?



More information about the macports-users mailing list