Python 2.1 and PIL

Joseph Wilhelm jwilhelm at outsourcefinancial.com
Fri Feb 22 15:08:57 EST 2002


On Thu, 2002-02-21 at 19:31, william wrote:
> Ok been playing with this python 2.1.2 and PIL.  The problem is when i
> install the PIL it installs it for python1.5.  I don't know how to get the
> PIL to install for Python2.1.
> 
> I am assuming I need to make some changes in some files before i do
> ./configure.  Any suggestions?
> 
> Thanks.
> 
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list

Try this, before you run the configure, you should set your 'PYTHON'
environment variable to point to python2

export PYTHON=/usr/bin/python2

That 'should' fix it, I believe.
Also, in your configure, you may want to specify:

./configure --prefix=/usr --sysconfdir=/etc

Just to make sure everything goes in standard locations.

--Joseph Wilhelm





More information about the Python-list mailing list