我想要卸载ipython
,但
user$ sudo pip uninstall ipython
Not uninstalling ipython at /usr/lib/python2.7/dist-packages, owned by OS
并且
root# pip uninstall ipython
Not uninstalling ipython at /usr/lib/python2.7/dist-packages, owned by OS
为什么我不能安装ipython?
我的ipython是:
user$ ipython
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
Type "copyright", "credits" or "license" for more information.
IPython 2.3.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]:
成功升级ipython后,ipython的版本仍为2.3.0。
我的操作系统是Ubuntu 15.04
我该怎么做才能解决它。
答案 0 :(得分:2)
您是否使用apt-get
安装ipython?如果是这样,请尝试:
$ sudo apt-get remove ipython
答案 1 :(得分:0)
似乎IPython也是使用apt-get
安装的。使用
$ sudo apt-get remove ipython