PIL questions: still supported? Problems on 2.7 for win? alternatives?

alex23 wuwei23 at gmail.com
Wed Sep 26 20:28:47 EDT 2012


On Sep 27, 7:44 am, Gelonida N <gelon... at gmail.com> wrote:
> This is what is confusing me.
> if I start with a new python and I just install Pillow, then pillow is
> imported via
> import PIL
> so it does not seem to have a separate name space
>
> If I had PIL and pillow installed, then I wouldn't even know how to
> choose which one to import.

Ah, I'm so sorry, I totally thought pillow had moved into its own
namespace (but of course that makes no sense if it's to be a drop-in
replacement for PIL).

To be honest, I never rely on the system install of Python to provide
anything, and prefer to use buildout/setup.py to guarantee the
development/installation environment is correct. I suspect (and
hopefully someone with more virtualenv experience will speak up here)
that you'll have to modify your PYTHONPATH within the virtualenv to
point to your local install of pillow before the site packages.



More information about the Python-list mailing list