Hi all,
For the record, I am pleased to say this install issue has been
resolved and mapnik is now working for me on 64bit Windows 7.
It turned out it was a simple matter of not completely following the
setup instructions because these instructions are kind of mixed up
with instructions relating to running the demo, which I was not
interested in doing so I missed a crucial line!
I set the PYTHONPATH user variable (set PYTHONPATH=%PYTHONPATH%;c:
\mapnik-2.0.1rc0\python\2.7\site-packages;) as per the instructions on
http://mapnik.org/news/2011/11/29/windows-binaries-progress but I
failed to also set the PATH system variable (set PATH=%PATH%;c:
\mapnik-2.0.1rc0\lib).
Once both these variables were set, Mapnik worked first time.
Thanks for all help received.
Richard
On Apr 30, 10:05 am,
richard.oa...@spatialdays.com wrote:
> Hi all,
>
> Thanks for the reply.
>
> I did what Dane suggested and put the underscore back in the
> __init__.py file, added C:\mapnik-2.0.1rc0\lib to PYTHONPATH (and
> checked that it contains the mapnik.dll which it does) and deleted
> the .pth file I had from C:\Python27.
>
> I then restarted Python and tried:
>
> import mapnik
>
> I got:
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named mapnik
>
> so it appears it still can't find the module/see the dll?
>
> FYI, I have used the Python and mapnik versions recommended onhttp://
mapnik.org/news/2011/11/29/windows-binaries-progressbut I note