I'm getting rusty with path statements, you are correct it should have been
; not , I took out the reference to 2.5 so now I have

>>> print sys.path
['', 'f:\\mapnik-0.7.1\\python\\2.6\\site-packages',
'f:\\mapnik-0.7.1\\python\\
2.5\\site-packages', 'C:\\Windows\\system32\\python26.zip',
'F:\\python26\\DLLs'
, 'F:\\python26\\lib', 'F:\\python26\\lib\\plat-win',
'F:\\python26\\lib\\lib-tk
', 'F:\\python26', 'F:\\python26\\lib\\site-packages']
>>>

'C:\\Windows\\system32\\python26.zip' does not exist by the way and import
mapnik gives the same error.

Thanks John


On 27 June 2011 01:50, Dane Springmeyer <[email protected]> wrote:

>
> On Jun 25, 2011, at 1:13 PM, john whelan wrote:
>
> And just to make it more interesting I have a SSD on C: so it has to go on
> F: a WD Raptor.  I have Python 2.6.5 installed on F: under python26 which I
> use for Blendor, the account is a user account and when I try import I get
>
> No module named mapnik
>
> PYTHONPATH has the value of
>
> f:\mapnik-0.7.1\python\2.6\site-packages,f:\mapnik-0.7.1\python\2.5\site-packages
>
>
> maybe a ; instead of a , ?
>
> Also, you likely don't want to put the paths for both python versions. If
> you are using Python 2.6, just use the path to that.
>
> To debug things further, do:
>
> $ python
> import sys
> print sys.path
>
> That will show all the paths that are searched, and you need to make sure
> your edits to the PYTHONPATH are working such that the new paths show up in
> sys.path
>
>
>
> Thoughts?
>
> Thanks John
>
> _______________________________________________
> 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