[Image-SIG] Linux installation problem
K Schutte
schutte@fel.tno.nl
Tue, 10 Sep 2002 16:59:21 +0200
The README file states at point 6:
$ python setup.py build
$ python setup.py install
For another then the default python version use that python version;
for RedHat 7.2 I have python1.5 as default, but python2.1 is in my path.
Typing
$ python2.1 setup.py build
$ python2.1 setup.py install
should build and install PIL for python 2.1.
Changing the default python version to 2.2 means that in your
path you should have a link named python to python2.2.
On my RedHat 7.2 /usr/bin/python is linked to .5
Thus you might want to
# rm /usr/bin/python
# ln /usr/bin/python2 /usr/bin/python
which of course could break any 'standard' RedHat applications which assume
that /usr/bin/python is python 1.5 with associated installed packages.
Klamer
Stani Michiels wrote:
>
> On Linux I have both python2.2 as python1.5.2
> installed. The installation of PIL works fine but it
> only installs it for python 1.5.2 How can I install
> it for python 2.2? I tried different things, but it
> didn't solve. How can I Red Hat Linux 7.3 change
> which is the standard python version? Any help is
> very welcome.
> Thanks,
> Stani
> www.stani.be
> PS Please send a cc to my email address as I am not
> subscribed to this mailing list.
>
> __________________________________________________
> Yahoo! - We Remember
> 9-11: A tribute to the more than 3,000 lives lost
> http://dir.remember.yahoo.com/tribute
>
> _______________________________________________
> Image-SIG maillist - Image-SIG@python.org
> http://mail.python.org/mailman/listinfo/image-sig
--
Klamer Schutte, E-mail: Schutte@fel.tno.nl
Electro-Optical Systems, TNO Physics and Electronics Laboratory
Tel: +31-70-3740469 -- Fax: +31-70-3740654 -- Mobile: +31-6-51316671