Amir. The python binding in the packaged windows binaries expect to find the 
datasource plugins in a specific place. So you need to put them in 
c:\mapnik_072 (or something like that). I am traveling right now so I don't 
know the exact directory name but you can get it by following the install 
instructions at trac.mapnik.org/wiki/WindowsInstallation

Dane

--- \o/ ---
Sent from my phone

On Mar 27, 2011, at 10:08 AM, Amir Winshtok <[email protected]> wrote:

> Hi all,
> 
> I am very new to mapnik.
> I try to run the demo script as described in the installation tutorial, but 
> run into this error.
> all path issues seems to be configure correctly.
> I am using win7 64 bit.
> 
> c:\Program Files (x86)\Mapnik\demo\python>rundemo.py
> Traceback (most recent call last):
>   File "C:\Program Files (x86)\Mapnik\demo\python\rundemo.py", line 71, in 
> <module>
>     provpoly_lyr.datasource = mapnik.Shapefile(file='../data/boundaries', 
> encoding='latin1')
>   File "C:\Program Files 
> (x86)\Mapnik\python\2.5\site-packages\mapnik\__init__.py", line 282, in 
> Shapefile
>     return CreateDatasource(keywords)
> RuntimeError: Could not create datasource. No plugin found for type 'shape'
> 
> 
> thanks so much for your help,
> Amir
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to