John,

I bet it is just something simple with the PYTHONPATH that we both are just 
missing in the weeds. What is inside the directory 
`F:\mapnik-0.7.1\python\2.6\site-packages\mapnik` ?

Dane

On Jul 13, 2011, at 7:58 AM, john whelan wrote:

> Just a gentle bump, should I simply give up?
> 
> Thanks John
> 
> On 27 June 2011 18:25, john whelan <[email protected]> wrote:
> The web site said to put the contents of the zip in \mapnik-0.7.1 which I 
> did.  The path refers to 
> mapnik-0.7.1\python\2.6\site-packages not 
> \mapnik-0.7.1\mapnik-0.7.1\python\2.6\site-packages\mapnik
> 
> So I shuffled things around now to F:\mapnik-0.7.1\python\2.6\site-packages 
> to match the pythonpath.
> 
> The current error message is 
> >>> from mapnik import *
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named mapnik
> 
> I did the dir slightly differently from a cmd window the results are below:
> 
> F:\>cd mapnik-0.7.1\python\2.6\site-packages
> 
> F:\mapnik-0.7.1\python\2.6\site-packages>dir
>  Volume in drive F is New Volume
>  Volume Serial Number is 8C82-1AD4
> 
>  Directory of F:\mapnik-0.7.1\python\2.6\site-packages
> 
> 06/27/2011  06:04 PM    <DIR>          .
> 06/27/2011  06:04 PM    <DIR>          ..
> 06/27/2011  06:04 PM    <DIR>          mapnik
>                0 File(s)              0 bytes
>                3 Dir(s)  130,495,987,712 bytes free
> 
> 
> F:\mapnik-0.7.1\python\2.6\site-packages>
> 
> PYTHONPATH F:\mapnik-0.7.1\mapnik-0.7.1\python\2.6\site-packages
> 
> Thank you for your patience 
> 
> Cheerio John
> 
> 
> 
> On 27 June 2011 13:32, Dane Springmeyer <[email protected]> wrote:
> 
> On Jun 27, 2011, at 2:54 AM, john whelan wrote:
> 
>> 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']
>> >>>
> 
> 
> Try f -> F ?
> 
> Also, can you confirm what is inside 
> 'F:\\mapnik-0.7.1\\python\\2.6\\site-packages' with:
> 
> dir F:\\mapnik-0.7.1\\python\\2.6\\site-packages
> 
> And lastly, can you paste the exact error again in full?
> 
> Dane
> 
> 
> 

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to