Hi all,

I'm a matplotlib newbie and have recently installed matplotlib as part
of the Python(x,y) distribution for Windows.  I want to do some image
manipulation (e.g. basemap.warpimage()) and my initial installation
didn't have the Python Imaging Library (PIL) installed, so I installed
this via easy_install:

easy_install PIL

This worked, but it was installed in such a way that the import command

from PIL import Image

doesn't work (it seems that "import Image" works instead).  This means
that basemap.warpimage() does not work because it expects to be able
to import PIL through the former expression.  I can try to install PIL
some other way, but does this indicate that the basemap module should
try both ways of importing PIL, as different users might have
different setups?  Is there a quick fix that I could apply?

(Apologies if this question has been asked before - I did some
Googling and didn't find anything.)

Regards, Jon

-- 
Dr Jon Blower
Technical Director, Reading e-Science Centre
Environmental Systems Science Centre
University of Reading
Harry Pitt Building, 3 Earley Gate
Reading RG6 6AL. UK
Tel: +44 (0)118 378 5213
Fax: +44 (0)118 378 6413
j.d.blo...@reading.ac.uk
http://www.nerc-essc.ac.uk/People/Staff/Blower_J.htm

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to