如何卸载pip3安装的Jupyter notebook
How to uninstall Jupyter note book installed by pip3
我在 OSX 上使用 pip3 安装了 Jupyter notebook。后来,我意识到,我应该通过 anaconda 来完成,因为它有很多我在线学习需要的库。所以我打算尝试卸载 jupyter,然后安装 anaconda。当人们搞砸卸载 jupyter notebook 时,我看到了很多问题。所以我想以正确的方式去做。
我想这样做
$ pip install pip-autoremove
$ pip-autoremove jupyter -y
或者可能正在使用 pip3,无论如何,有人知道这是否是正确的做法吗?
我从 this question
得到这个
谢谢 x
我刚试过
$ pip3 install pip-autoremove
$ pip-autoremove jupyter -y
全部清除。我检查了
pip3 freeze | grep jupyter
which jupyter
什么都没有回来。所以一切都很好。
还有其他建议here
下面是从 link 复制的:(您可能需要使用 pip3)
运行 conda uninstall notebook nbconvert nbformat ipykernel ipywidgets qtconsole traitlets tornado jupyter_* ipython_genutils jinja2 -y 在你的终端。如果您不使用 anaconda,则可以使用 pip uninstall 而不是 conda uninstall。
您可以这样删除它:
pip3 uninstall notebook
如果您使用 conda 安装,则应使用 conda uninstall。
为确保没有剩余的包,您可以 运行 pip freeze | grep jupyter
和 pip3 freeze | grep jupyter
。
如果您收到任何包裹 - 只需使用 pip uninstall <package-name>
删除
我在 OSX 上使用 pip3 安装了 Jupyter notebook。后来,我意识到,我应该通过 anaconda 来完成,因为它有很多我在线学习需要的库。所以我打算尝试卸载 jupyter,然后安装 anaconda。当人们搞砸卸载 jupyter notebook 时,我看到了很多问题。所以我想以正确的方式去做。
我想这样做
$ pip install pip-autoremove
$ pip-autoremove jupyter -y
或者可能正在使用 pip3,无论如何,有人知道这是否是正确的做法吗? 我从 this question
得到这个谢谢 x
我刚试过
$ pip3 install pip-autoremove
$ pip-autoremove jupyter -y
全部清除。我检查了
pip3 freeze | grep jupyter
which jupyter
什么都没有回来。所以一切都很好。
还有其他建议here
下面是从 link 复制的:(您可能需要使用 pip3) 运行 conda uninstall notebook nbconvert nbformat ipykernel ipywidgets qtconsole traitlets tornado jupyter_* ipython_genutils jinja2 -y 在你的终端。如果您不使用 anaconda,则可以使用 pip uninstall 而不是 conda uninstall。
您可以这样删除它:
pip3 uninstall notebook
如果您使用 conda 安装,则应使用 conda uninstall。
为确保没有剩余的包,您可以 运行 pip freeze | grep jupyter
和 pip3 freeze | grep jupyter
。
如果您收到任何包裹 - 只需使用 pip uninstall <package-name>