2 different python versions / how to install packages?
Nick Vargish
nav+posts at bandersnatch.org
Sat Nov 22 16:18:53 EST 2003
I would install Python 2.3 in a seperate location from the system
version. The system version is probably in /usr/bin, so install Python
2.3 with "--prefix=/usr/local".
Make sure /usr/local/bin is before /usr/bin in your PATH. Then, when
you run configure for the extensions you want to install, the
configure script should pick up /usr/local/bin/python, and all should
be well.
You will also need to make sure /usr/local/bin is before /usr/bin if
you use "#!/usr/bin/env python" in your scripts. Or you could just
explicitly say "#!/usr/local/bin/python" to make sure you're using the
"correct" version.
Nick
--
# sigmask || 0.2 || 20030107 || public domain || feed this to a python
print reduce(lambda x,y:x+chr(ord(y)-1),' Ojdl!Wbshjti!=obwAcboefstobudi/psh?')
More information about the Python-list
mailing list