Windows 完全删除 jupyter notebook 您所在的位置:网站首页 未找到hasp Windows 完全删除 jupyter notebook

Windows 完全删除 jupyter notebook

2023-02-22 08:07| 来源: 网络整理| 查看: 265

首先,执行以下命令:

pip install pip-autoremove pip-auto remove jupyter -y

上面的命令其实是安装了 pip-autoremove 这个库,然后用 pip-autoremove 来删除 jupyter 所依赖的相关库。

这样其实还没有卸载干净,我们还需要用 pip list 命令来查看和 jupyter 相关的库,并且手动删除相关的库。可能需要删除的库如下所示:

pip uninstall jupyter -y pip uninstall jupyter_core -y pip uninstall jupyter-client -y pip uninstall jupyter-console -y pip uninstall notebook -y pip uninstall qtconsole -y pip uninstall nbconvert -y pip uninstall nbformat -y

-y 在这里表示遇到需要选择的选项全部选 y (yes)。

然后,在 cmd 命令行中进行如下操作:

即:

from jupyter_core.paths import jupyter_path print(jupyter_path())

最后,将上面列出的所有相关的 jupyter 文件都删除即可,这样,再次安装 jupyter notebook 就是全新的 jupyter notebook 了。



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有