I'm attempting to use the Effects on Mac (PowerBook G4, 10.4.10) which utilise some Python libraries what I've understood. I've followed the instructions found at :
http://wiki.inkscape.org/wiki/index.php/CompilingMacOsX#Enabling_python_effe...
installed PyXML and numpy and even changed the Python version to 2.4 thinking that PyXML functions with that, but still no go. The instructions found in the above link states that on OS X 10.3 the file path to the site-packages folder is different than on 10.4 which in my case isn't so. The Python packages which I have (2.4 and 2.5) are separated according by framework: /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages not like this: /Library/Python/2.3/site-packages/ Can the problem be laying here which in that case what is there to be done?
On 2007-June-29 , at 09:12 , linus@...2301... wrote:
I'm attempting to use the Effects on Mac (PowerBook G4, 10.4.10) which utilise some Python libraries what I've understood. I've followed the instructions found at :
http://wiki.inkscape.org/wiki/index.php/ CompilingMacOsX#Enabling_python_effects
… installed PyXML and numpy and even changed the Python version to 2.4 thinking that PyXML functions with that, but still no go.
What do you mean by "changing the Python version"? You installed a newer python?
The instructions found in the above link states that on OS X 10.3 the file path to the site-packages folder is different than on 10.4 which in my case isn't so. The Python packages which I have (2.4 and 2.5) are separated according by framework: /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages not like this: /Library/Python/2.3/site-packages/ Can the problem be laying here which in that case what is there to be done?
Actually, on both systems /System/Library/Frameworks/Python.framework/ Versions/2.3/lib/python2.3/site-packages is the correct path to where the _xmlplus and numpy folders should be. But in order to avoid touching the /System directory directly there is a link from /Library/ Python/2.3/site-packages/ to this directory. The link works on 10.4 and is broken on 10.3, hence the necessity to go directly into / System/... If you have several versions of python, only the most recent will be used and you'll need to compile pyXMl and numpy against this newest version. To make things easier for mac users we've already compiled them against 2.3, which is the version shipped with OS X. So you need to: - either compile and install pyXML and numpy yourself against 2.5 (following the information on te wiki page you mentioned) - or uninstall 2.4 and 2.5 (come back to your original system state), download our precompiled binaries for PPC here: http:// inkscape.modevia.com/macosx-snap/?C=M;O=D or or download Inkscape +Python 0.45 for PPC on sourceforge: http://sourceforge.net/project/ showfiles.php?group_id=93438&package_id=99112 And drag and drop the two folders (_xmlplus and numpy) to the appropriate location (the background image in the finder window should be self explanatory)
Cheers,
JiHO --- http://jo.irisson.free.fr/
Thanks for the fast reply.
It seems that the directory /Library/Python/ does not exist and is the root of the problem. I'll have a look at apple's site to see if there is a way to reinstall the original version.
-Linus
jiho <jo.irisson@...155...> wrote:
On 2007-June-29 , at 09:12 , linus@...2301... wrote:
I'm attempting to use the Effects on Mac (PowerBook G4, 10.4.10) which utilise some Python libraries what I've understood. I've followed the instructions found at :
http://wiki.inkscape.org/wiki/index.php/ CompilingMacOsX#Enabling_python_effects
installed PyXML and numpy and even changed the Python version to 2.4 thinking that PyXML functions with that, but still no go.
What do you mean by "changing the Python version"? You installed a newer python?
The instructions found in the above link states that on OS X 10.3 the file path to the site-packages folder is different than on 10.4 which in my case isn't so. The Python packages which I have (2.4 and 2.5) are separated according by framework: /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages not like this: /Library/Python/2.3/site-packages/ Can the problem be laying here which in that case what is there to be done?
Actually, on both systems /System/Library/Frameworks/Python.framework/ Versions/2.3/lib/python2.3/site-packages is the correct path to where the _xmlplus and numpy folders should be. But in order to avoid touching the /System directory directly there is a link from /Library/ Python/2.3/site-packages/ to this directory. The link works on 10.4 and is broken on 10.3, hence the necessity to go directly into / System/... If you have several versions of python, only the most recent will be used and you'll need to compile pyXMl and numpy against this newest version. To make things easier for mac users we've already compiled them against 2.3, which is the version shipped with OS X. So you need to:
- either compile and install pyXML and numpy yourself against 2.5
(following the information on te wiki page you mentioned)
- or uninstall 2.4 and 2.5 (come back to your original system state),
download our precompiled binaries for PPC here: http:// inkscape.modevia.com/macosx-snap/?C=M;O=D or or download Inkscape +Python 0.45 for PPC on sourceforge: http://sourceforge.net/project/ showfiles.php?group_id=93438&package_id=99112 And drag and drop the two folders (_xmlplus and numpy) to the appropriate location (the background image in the finder window should be self explanatory)
Cheers,
JiHO
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Yep. Got it working now. I copied the /Library/Python folder and installed the precompiled PyXML and numpy by the shortcut. I was wonder why the shortcut wasn't working before...
-Linus
participants (2)
-
unknown@example.com
-
jiho