Search code examples
pythonversionbackwards-compatibilityipython

How to force iPython to use an older version of Python?


I have to use a very outdated version of python (2.4) at work, so I'd like to tell ipython to use that version instead of the default one on the system. How can I do that?

( I know there is a dupe question, but the accepted answer doesn't work for me, because I only have one ipython on my system, and there are no other packages to install )


Solution

  • Install it using the other Python version's executable.

    python2.9 setup.py install