[BangPypers] Multiple versions of Python

Saju Pillai saju.pillai at gmail.com
Fri Dec 4 07:24:52 CET 2009

2009/11/12 Noufal Ibrahim <noufal at gmail.com>:
> Someone on this list asked a while ago about installing and using
> different versions of Python on the same machine. Here's something
> relevant that might be useful.
> http://tartley.com/?p=883

All you need to do is to make sure your $PATH chooses the correct
python. When you compile python, the --prefix=<foo> value gets
compiled in Modules/getpath.c. This is how the python binary knows
where to look for it's correct bits.

Only thing you need to look out for is PYTHONPATH. If you have this
set, make sure it points to the appropriate version of libraries you
are trying to pickup.


More information about the BangPypers mailing list