[OSM-dev] ImportError: No module named mapnik

Sam Mor sam_mor at y7mail.com
Mon May 18 01:07:04 BST 2009


HI Guys,
we followed Mr Richard articles step by step, we only skipped that one:

./bin/osmosis --read-xml /home/username/planet-090311.osm.gz --bounding-box left=-94 bottom=38 right=-71.5 top=50 --write-xml /home/username/GreatLakes.osm.gz

and we do that one:

time ./osm2pgsql --slim -d gis planet.osm.gz

when we arrived to those ones:
source set-mapnik-env
./customize-mapnik-map >$MAPNIK_MAP_FILE
./z0_generate_tiles.py 


we got this error:

john at ubuntu3:~/mapnik$ source set-mapnik-env
john at ubuntu3:~/mapnik$ ./customize-mapnik-map >$MAPNIK_MAP_FILE
john at ubuntu3:~/mapnik$ ./z0_generate_tiles.py 
Traceback (most recent call last):
  File "./z0_generate_tiles.py", line 43, in <module>
    from mapnik import *
ImportError: No module named mapnik


please helpppppppppppppppppp.

thanks 


SAM




      Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline




More information about the dev mailing list