ipython for python 2.6.1是否需要卸载?
我使用easy_install为python 2.6.1安装了ipython。在意识到我需要2.7版本来使用matplotlib之后,我下载并安装了使用sudo将ipython与python 2.7结合使用的资源。我需要卸载“旧”ipython吗?如果是,我该怎么做?不,您不必这样做,ipython软件包数据存储在安装它的python版本的site packages目录中,ipython可执行文件基本上包含ipython for python 2.6.1是否需要卸载?,python,ipython,Python,Ipython,我使用easy_install为python 2.6.1安装了ipython。在意识到我需要2.7版本来使用matplotlib之后,我下载并安装了使用sudo将ipython与python 2.7结合使用的资源。我需要卸载“旧”ipython吗?如果是,我该怎么做?不,您不必这样做,ipython软件包数据存储在安装它的python版本的site packages目录中,ipython可执行文件基本上包含 #!/usr/bin/python # -*- coding: utf-8 -*- "
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
long comment about IPython.Shell that you
might want to read; omitted here for brevity
"""
import IPython.Shell
IPython.Shell.start().mainloop()
它将使用默认的python版本运行,如果python的默认版本是2.6,您可以直接使用:/path/to/python2.7/path/to/ipython
调用2.7版本