如何卸载随pip3一起安装的Jupyter Notebook [英] How to uninstall Jupyter notebook that was installed with pip3

查看:294
本文介绍了如何卸载随pip3一起安装的Jupyter Notebook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了anaconda,它随附了自己的Jupyter版本,因此我想卸载使用pip3安装的Jupyter.我搜索了指令并尝试使用pip3 uninstall Jupyter,但这似乎不正确,因为我得到了以下内容,它表示为Jupyter 1.0.0:

I've installed anaconda and that came with its own Jupyter version so I want to uninstall the Jupyter that I installed using pip3. I searched for instruction and tried using pip3 uninstall Jupyter, but that does not seem correct because I get the following, which it says is 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的文件.

I know I can also try pip3 uninstall notebook, but that shows a bunch of files that I'm not sure is actually Jupyter.

这看起来好像是一个简单的问题,但是我已经搜索过并且没有找到明确的答案.谢谢!

This must seem like such a simple question, but I've searched and haven't found clear answer. Thank you!

推荐答案

不幸的是,没有简单的解决方案. "pip install jupyter"命令会安装各种依赖项,因此您可能必须分别将其全部卸载.

Unfortunately there's no simple solution. The "pip install jupyter" command installs various dependencies and so you'll probably have to uninstall them all seperately.

与Jupyter相关的软件包是:

The packages associated with Jupyter are:

  • 笔记本
  • nbconvert
  • nbformat
  • ipykernel
  • ipywidgets
  • qtconsole
  • 特质
  • 龙卷风
  • 前面带有jupyter的任何内容(jupyter_core,jupyter_client等)
  • ipython_genutils
  • jinja2
  • notebook
  • nbconvert
  • nbformat
  • ipykernel
  • ipywidgets
  • qtconsole
  • traitlets
  • tornado
  • anything with jupyter in front of it (jupyter_core, jupyter_client etc.)
  • ipython_genutils
  • jinja2

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

Some of these aren't Jupyter only (tornado, qtconsole, jinja2 etc) but if you're sure you're not using them then feel free to uninstall.

这篇关于如何卸载随pip3一起安装的Jupyter Notebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆