如何卸载pip3安装的Jupyter笔记本

问题描述 投票:0回答:2

我在OSX上使用pip3安装了Jupyter笔记本。后来,我意识到,我应该通过anaconda这样做,因为它有大量的库,我需要进行在线学习。所以我是关于尝试卸载jupyter,然后安装anaconda。当人们搞砸卸载jupyter笔记本时,我看到很多问题。所以我想以正确的方式去做。

我想这样做

$ pip install pip-autoremove
$ pip-autoremove jupyter -y

或者可能正在使用pip3,无论如何,有谁知道这是否是正确的方法?我从this question得到了这个

谢谢x

macos pip jupyter-notebook uninstall
2个回答
3
投票

我刚刚尝试过

$ pip3 install pip-autoremove
$ pip-autoremove jupyter -y

它清除了所有。我查了一下

pip3 freeze | grep jupyter
which jupyter

没有回来。所以这一切都很好。

还有其他建议here

下面是链接的副本:(你可能需要使用pip3)运行conda uninstall notebook nbconvert nbformat ipykernel ipywidgets qtconsole traitlets tornado jupyter_ * ipython_genutils jinja2 -y在你的终端。如果您不使用anaconda,则可以使用pip uninstall而不是conda uninstall。


1
投票

您可以像这样删除它:

pip3 uninstall notebook

如果使用conda安装,则应使用conda uninstall。

© www.soinside.com 2019 - 2024. All rights reserved.