Uninstall one of two Python's

tengounplanb at gmail.com tengounplanb at gmail.com
Mon Nov 17 04:40:59 EST 2008


Hi,

Is it possible to remove one of two instances of Python installed on
the same machine? I have two Python-2.5.2, one in /usr/local/bin/
python2.5 and the other one in /usr/bin/python2.5. The latter has the
modules I use (kinterbasdb, psycopg, mod_python,...) and the first
don't.

I have Apache with mod_python installed as well. When Apache tries to
run a Python script, I think it's using the "wrong" python, and that's
because the /usr/local/bin path is before the /usr/bin path in the
$PATH variable.

Regards

León

Ubuntu 8.04-1
kernel: 2.26.24-1



More information about the Python-list mailing list