Opened 15 years ago

Closed 15 years ago

#21193 closed defect (invalid)

problems importing gtk in textext python extension in Inkscape

Reported by: jeffrey@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port:

Description

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!

Change History (1)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

So you did not install inkscape from macports? We can't support that.

Note: See TracTickets for help on using tickets.