Comment 13 for bug 482993

Revision history for this message
Dan Michael Heggø (danmichaelo) wrote :

I get the same conflict between the bundled lxml and both Apple's Python 2.6.1 and MacPorts Python 2.6.5:

ImportError: dlopen(/Applications/Inkscape.app/Contents/Resources/python/site-packages/i386/2.6/lxml/etree.so, 2): no suitable image found. Did find:
 /Applications/Inkscape.app/Contents/Resources/python/site-packages/i386/2.6/lxml/etree.so: mach-o, but wrong architecture

As a workaround, I ended up making Inkscape use MacPorts Python 2.6.5 together with MacPorts py26-lxml instead of the bundled lxml, by commenting out line 29 in /Applications/Inkscape.app/Contents/Resources/bin/inkscape:

#export PYTHONPATH="$TOP/python/site-packages/$ARCH/$PYTHON_VERS"