Ticket #21193 (closed defect: invalid)
problems importing gtk in textext python extension in Inkscape
|Reported by:||jeffrey@…||Owned by:||macports-tickets@…|
I am running Inkscape version 0.47-Pre1-2, installed using the dmg file for Leopard. I compiled pstoedit using Macports, and installed the textext python files in the appropriate directory. When I attempt to activate the extension, I get the following error:
Traceback (most recent call last):
File "Contents/Resources/extensions/textext.py", line 307, in <module>
raise RuntimeError("Neither pygtk nor Tkinter is available!")
RuntimeError: Neither pygtk nor Tkinter is available!
It seems that this is an error with the python build rather than a problem with Inkscape or textext. I have python24, python25 and python 26 installed, as well as py26-gtk and py25-gtk. All three python versions are active, while only py26-gtk is active of the gtk versions. Python26 is selected via python_select. Should all three python versions be active?
I am guessing that I am missing a path or symbolic link somewhere, but I am not sure where. If my question is not appropriate for this forum, please indicate that. Thanks!