【问题标题】:How to uninstall Jupyter notebook installed from Anaconda?如何卸载从 Anaconda 安装的 Jupyter notebook?
【发布时间】:2017-04-10 15:19:52
【问题描述】:

我按照以下instructions 安装了Jupyter notebook(单用户模式)。

但是,我实际上需要安装多用户(Jupyter-hub)应用程序。

如何卸载此应用程序?

仅供参考 - 使用 Centos 6.8

谢谢

【问题讨论】:

    标签: anaconda jupyter-notebook


    【解决方案1】:

    您可以通过运行删除 Jupyter Notebook:

    conda remove jupyter jupyter-client jupyter-console jupyter-core
    

    你可以通过运行安装 Jupyterhub:

    conda install -c conda-forge jupyterhub 
    

    我相信这个包只兼容 Python 3。

    【讨论】:

    • MAC OS 的注意事项:我的 Mac OS X 10.14.2 的 Jupyter Notebook 文件夹使用了下划线,所以如果上述命令不起作用,请查看 ~/USER/NAME/anaconda/lib/python2.7/site-packages/ 以获取这些:jupyeter_clientjupyter_consolejupyter_core。如果有,只需运行conda remove jupyter jupyter_client jupyter_console jupyter_core
    【解决方案2】:

    我不得不使用:

    conda uninstall jupyter_core nbformat nbconvert notebook
    

    【讨论】:

      猜你喜欢
      • 2018-02-09
      • 2017-07-04
      • 2023-02-03
      • 2017-12-03
      • 2018-07-25
      • 2020-10-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多