Hi,

  I just managed to get mapnik compiled and installed on Mac OS X.

  When I invoke python and try to import mapnik, I get the following  
error:

  Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:16)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
  >>> from mapnik import *
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named mapnik
  >>>

  If I look under the site-packages directory for python, mapnik.so  
seems to be there:

  [zeemac:site-packages]$ ls -l /System/Library/Frameworks/ 
Python.framework/Versions/2.5/lib/python2.5/site-packages/mapnik/
total 5248
-rw-r--r--   1 root  wheel     2911 Sep 25  2007 __init__.py
-rwxr-xr-x   1 root  wheel  2675520 Apr 17 10:04 _mapnik.so*
drwxr-xr-x  11 root  wheel      374 Apr 17 10:09 ogcserver/
-rw-r--r--   1 root  wheel      132 Apr 17 10:09 paths.py
[zeemac:site-packages]$

  Can someone please point me in the right direction?

  Thanks

Claire

  --
  Claire McLister                        [EMAIL PROTECTED]
  21060 Homestead Road Suite 150
  Cupertino, CA 95014            408-733-2737(fax)

                      http://www.zeemaps.com



_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to