python - 如何从 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.
解决方案是什么?如果有人可以提供帮助,那就太好了。
解决方案
推荐阅读
- r - xts 变量带“-”
- javascript - 角度 12 中未定义的 Ngrx 状态
- r - 我在数据集中有重复的 ID,并希望在数据列中保留 NA 数量最少的 ID
- javascript - 如果我运行 firebase serve,部分 JavaScript 文件不会执行
- python - 如何修复错误?TypeError: 不支持的操作数类型 -: 'tuple' 和 'int'
- java - JAVA:使用树形图方法获取对象的变量
- python - nltk.pos_tag 和 nltk.word_tokenize - 列表列表
- mysql - 仅返回多个重复父 ID 的子表上最后插入的父 ID
- flutter - 相机预览显示拉伸的图像,当高度降低时颤动
- python - 如何在 streamlit 中获得两个月年日期之间的差异?