如何卸载jupyter [英] How to uninstall jupyter
本文介绍了如何卸载jupyter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在尝试卸载jupyter
I have been trying to uninstall jupyter
我尝试了以下命令
pip uninstall jupyter
pip3 uninstall jupyter
和
rm -rf /Users/$user/Library/Jupyter/*
即使在终端上键入jupyter时运行所有这些命令之后,我也会收到以下消息
Even after running all these commands when I type jupyter in the terminal I get the following message
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
究竟出了什么问题,为什么我仍然可以使用该命令?
What exactly is going wrong and why am I still able to use the command?
推荐答案
$ pip install jupyter
时,将安装多个依赖项.完全卸载它的最佳方法是运行:
When you $ pip install jupyter
several dependencies are installed. The best way to uninstall it completely is by running:
-
$ pip install pip-autoremove
-
$ pip-autoremove jupyter -y
$ pip install pip-autoremove
$ pip-autoremove jupyter -y
请认真参考与此相关的问题.
Kindly refer to this related question.
pip-autoremove
删除软件包及其未使用的依赖项.这是文档.
pip-autoremove
removes a package and its unused dependencies. Here are the docs.
这篇关于如何卸载jupyter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文