Dear Dr. Blower, I would by all means suggest the Enthought Python Distribution (http://www.enthought.com/) in place of Python(x,y). EPD already includes PIL, MPL and Basemap (although in a somewhat "abridged" and outdated version, but this is just a matter of upgrading).
Hope this helps. Best regards, 2009/1/13 Jon Blower <j.d.blo...@reading.ac.uk>: > 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 > -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mauro...@gmail.com Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 "Life is complex. It consists of real and imaginary parts." ------------------------------------------------------------------------------ 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