首页 > 解决方案 > Jupyter 安装环境

问题描述

如何检查/知道 jupyter 的安装位置?在虚拟环境/conda/OS 上?

Linux/Ubuntu 16

在终端我得到:

jupyter --version:

- jupyter core     : 4.6.1
- jupyter-notebook : 6.0.3
- qtconsole        : not installed
- ipython          : 7.11.1
- ipykernel        : 5.1.3
- jupyter client   : 5.3.4
- jupyter lab      : not installed
- nbconvert        : 5.6.1
- ipywidgets       : 7.5.1
- nbformat         : 5.0.4
- traitlets        : 4.3.3

标签: python-3.xjupyter-notebookjupyterubuntu-16.04

解决方案


建议:

which jupyter -a

如果您正在运行 pyenv 或其他使用 shims 的环境管理器,则不会为您提供任何有用的信息。相反,您可能想要使用:

jupyter --paths

并查看配置和数据 - 路径之一是安装位置;如果您想真正了解 jupyter 从何处加载配置,这也可能更有用。


推荐阅读