如何强制iPython使用旧版本的Python? [英] How to force iPython to use an older version of Python?
本文介绍了如何强制iPython使用旧版本的Python?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在运行Ubuntu 8.10,使用开箱即用的Python 2.5。从系统的角度来看,这很好,但我需要Python2.4,因为我开发Zope / Plone。
I am running an Ubuntu 8.10, using Python 2.5 out of the box. This is fine from the system point of view, but I need Python2.4 since I dev on Zope / Plone.
好吧,安装python2.4不是挑战,但是我找不到一个(干净的)让iPython使用它的方法:man和配置文件中没有选项。
Well, installing python2.4 is no challenge, but I can't find a (clean) way to make iPython use it : no option in the man nor in the config file.
之前,有一个ipython2.4包但不推荐使用。
Before, there was a ipython2.4 package but it is deprecated.
推荐答案
好的,我回答我自己的问题:我很笨: - )
Ok, I answer my own question : I'm dumb :-)
ls /usr/bin/ipython*
/usr/bin/ipython /usr/bin/ipython2.4 /usr/bin/ipython2.5
现在它是内置的......
Now it's built-in...
这篇关于如何强制iPython使用旧版本的Python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文