[Matplotlib-users] Error importing Python Imaging Library (PIL)

2009-01-13 Thread Jon Blower
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

Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)

2009-01-13 Thread Mauro Cavalcanti
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

Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)

2009-01-13 Thread Jeff Whitaker
Jon Blower wrote: 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,

Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)

2009-01-13 Thread Jon Blower
Jon: It seems like PIL is not setuptools-aware... Thanks Jeff, this is good to know. I went back and reinstalled Python(x,y) and installed PIL as part of the setup options, then it all worked fine. Very useful to know that sometimes easy_install isn't the right option for installing plugins.