Starting ActivePython on Ubuntu 11.04 with existing Python install

Posted by bvds on 2011-09-20 07:33

I've installed ActivePython Community edition on a fresh Ubuntu 11.04 Desktop client (with existing Python 2.71). No problems with the installation itself. Also, added default ActivePython path to $PATH.

At terminal, Python command starts the pre-existing Python 2.7.1 interpreter. How do I call up ActivePython instead?

Thx.

bvds | Tue, 2011-09-20 17:23

added the following to my .profile:

if [ -d "/opt/ActivePython-2.7/bin" ] ; then
PATH="/opt/ActivePython-2.7/bin:$PATH"
fi