On 2007-March-31 , at 12:49 , Grey wrote:
[...] python yeilds: Python 2.5 (r25:51908, Mar 30 2007, 11:43:19) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type "help", "copyright", "credits" or "license" for more information. python -v yeilds: # installing zipimport hook import zipimport # builtin # installed zipimport hook # /sw/lib/python2.5/site.pyc matches /sw/lib/ python2.5/site.py import site # precompiled from /sw/lib/python2.5/ site.pyc # /sw/lib/python2.5/os.pyc matches /sw/lib/python2.5/os.py import os # precompiled from [...]
OK I see. Your default python version is the one in Fink and therefore you installed pyXML inside that Fink version. The issue is that Inkscape uses only the default version of OS X. There are two things you can do:
- reinstall pyXML in Apple's python tree. To do that you can either * edit your .profile or .bashrc or whatever file Fink's adds it's PATH modification in and comment the line which adds Fink's PATH (it looks like: test -r /sw/bin/init.sh && . /sw/bin/init.sh). Then relaunch a Terminal and reinstall pyXML, it should use Apple's python and not the one in Fink * try the install process with the command python2.3 instead of just python (not sure about this one but should work)
- try to have Inkscape use your Fink's tree. To do this right click Inkscape.app, select "Show package content", navigate to Inkscape.app/ Contents/Resources/bin/ and open the file "inkscape" with your favorite text editor. This is a bash script which sets the environment up and opens the actual Inkscape binary afterwards. Modify the PATH line to add Fink's PATH: export PATH="$CWD:$PATH" should read export PATH="$CWD:/sw/bin/:$PATH" I would be curious if this works.
Hope that helps.
JiHO --- http://jo.irisson.free.fr/