首页 > 解决方案 > 如何从 Ubuntu 20.0.4 卸载 Jupyter

问题描述

Ubuntu 新手在这里。所以我试图卸载 Jupyter,但每当我在终端上键入 Jupyter 命令时,它都会显示这个

usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
               [--paths] [--json]
               [subcommand]
jupyter: error: one of the arguments --version subcommand --config-dir --data-dir --runtime-dir --paths is required

我尝试在这里搜索答案,甚至尝试使用 pip3 , pip 结果如下:

pip3 uninstall jupyter_core

Found existing installation: jupyter-core 4.6.3
Not uninstalling jupyter-core at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'jupyter-core'. No files were found to uninstall.
pip3 uninstall jupyter
WARNING: Skipping jupyter as it is not installed

我也使用了这个命令

sudo -H python3 -m pip uninstall jupyter_core jupyter_qtconsole nbformat nbconvert notebook

结果显示是这样的

Found existing installation: jupyter-core 4.6.3
Not uninstalling jupyter-core at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'jupyter-core'. No files were found to uninstall.
WARNING: Skipping jupyter-qtconsole as it is not installed.
Found existing installation: nbformat 5.0.4
Not uninstalling nbformat at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'nbformat'. No files were found to uninstall.
Found existing installation: nbconvert 5.6.1
Not uninstalling nbconvert at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'nbconvert'. No files were found to uninstall.
Found existing installation: notebook 6.0.3
Not uninstalling notebook at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'notebook'. No files were found to uninstall.

解决方案是什么?如果有人可以提供帮助,那就太好了。

标签: pythonubuntujupyter-notebookjupyteruninstallation

解决方案


推荐阅读