Thanks Guillaume with your pointer I've managed to get mapnik up and
running.
I added /System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/ to my .bash_profile
Here is the original output from PYTHONPATH:
'',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python25.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/
python',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/lib-dynload',
'/Library/Python/2.5/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/
python/PyObjC'
I guess '/Library/Python/2.5/site-packages' was intended to point to
mapnik but this wasn't where it was installed.
Thanks again for your help, it's appreciated.
Greg
On 2 Mar 2008, at 15:13, Guillaume Sueur wrote:
ok.
check that /System/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/ is in your python path:
type python
then :
>> import sys
>> print sys.path
what does it say ?
Guillaume
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users