如何卸载使用PIP3安装的Jupyter笔记本



我已经安装了anaconda,它带有其自己的jupyter版本,所以我想卸载我使用pip3安装的jupyter。我搜索了指令并尝试使用pip3 uninstall Jupyter,但这似乎不是正确的,因为我得到以下内容,它说是jupyter 1.0.0:

Uninstalling jupyter-1.0.0:
  /usr/local/lib/python3.6/site-packages/__pycache__/jupyter.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/DESCRIPTION.rst
  /usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/INSTALLER
  /usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/METADATA
  /usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/RECORD
  /usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/WHEEL
  /usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/metadata.json
  /usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/pbr.json
  /usr/local/lib/python3.6/site-packages/jupyter-1.0.0.dist-info/top_level.txt
  /usr/local/lib/python3.6/site-packages/jupyter.py

我知道我也可以尝试pip3 uninstall notebook,但是这显示了我不确定实际上是jupyter的一堆文件。

这一定是一个简单的问题,但是我已经搜索了,但没有找到明确的答案。谢谢!

不幸的是没有简单的解决方案。" pip install jupyter"命令安装了各种依赖项,因此您可能必须单独卸载它们。

与Jupyter关联的软件包是:

  • 笔记本
  • nbconvert
  • nbformat
  • ipykernel
  • ipywidgets
  • qtconsole
  • 特征
  • 龙卷风
  • 任何与jupyter一起在它前面的任何东西(jupyter_core,jupyter_client等)
  • ipython_genutils
  • jinja2

其中一些不仅是jupyter(龙卷风,qtconsole,jinja2等),但是如果您确定不使用它们,请随时卸载。

最新更新