I do something like this in Ubuntu: 1. sudo apt-get install python2.6 2. sudo apt-get install python3.1
$ python3.1 foo3.py $ python2.6 foo.py You don't have to use separate script for python3. See http://nedbatchelder.com/blog/200910/running_the_same_code_on_python_2x_and_3x.html As for installing packages (that are not in the repository), I suggest installing them to PEP 370 style user directories (I don't use virtualenv when there is PEP 370). $ cd IPython-0.10.0/ $ sudo python2.6 setup.py install --user $ which ipython /Users/sridharr/.local/bin/ipython $ python2.6 -c "import IPython; print IPython.__file__" '/Users/sridharr/.local/lib/python2.6/site-packages/IPython/__init__.pyc' OR $ sudo pip install --install-option="--user" IPython OR $ pypm install IPython # http://docs.activestate.com/activepython/2.6/pypm.html -srid On Mon, Oct 12, 2009 at 6:49 PM, Arvind Jamuna Dixit <ard...@gmail.com> wrote: > I prefer system wide. > > On Mon, Oct 12, 2009 at 5:24 PM, Noufal Ibrahim <nou...@gmail.com> wrote: >> >> On Mon, Oct 12, 2009 at 5:00 PM, Arvind Jamuna Dixit <ard...@gmail.com> >> wrote: >> > Hi, >> > >> > Has anyone here tried installing multiple versions of python ( say 2.6 >> > and >> > 3.0 ) >> > onto a Fedora system ( specifically fedora 11 )? >> >> System wide or for a single user? >> -- >> ~noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers@python.org >> http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > > _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers