Cannot uninstall 'ipython

2018-11-06  本文已影响111人  悟饭哪

在ubuntu上更新ipython3时,在终端上报错:“Cannot uninstall 'ipython'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.”

解决办法:使用下面命令进行强制更新即可。亲测可用
sudo pip3 install --ignore-installed ipython --upgrade

上一篇下一篇

猜你喜欢

热点阅读