On Mon, Apr 21, 2008 at 12:37:54PM +0200, Luca Delucchi wrote:
> I installed mapnik on debian lenny but when i try to check mapnik in
> python i have this answer
> 
> debianluca:/home/luca# python
> Python 2.4.5 (#2, Mar 12 2008, 00:15:51)
> [GCC 4.2.3 (Debian 4.2.3-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from mapnik import *
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named mapnik
> 
> what can i do?

The Debian packages compile the mapnik python extension for python2.5,
so if you invoke python as 'python2.5' you should find that importing
mapnik will work.

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to