pypa/virtualenv — Issue #210: PIL and only PIL left out of new virtualenv (poison PIL?)
Author: brycenesbitt
Created: 2011-12-30 03:51:43+00:00
State: open

1) Install Python Imaging Library (PIL), verify it works
2) Create a new virtualenv using defaults
3) Verify PIL is missing

See
http://opensourcehacker.com/2009/11/19/installing-python-imaging-library-pil-under-virtualenv-or-buildout/

Or

hardhat:venvtest> python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PIL
>>> PIL.VERSION
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'VERSION'
>>>

hardhat:venvtest> source bin/activate
(venvtest)hardhat:venvtest> python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PIL
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named PIL
>>>