python-3.x - 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
解决方案
建议:
which jupyter -a
如果您正在运行 pyenv 或其他使用 shims 的环境管理器,则不会为您提供任何有用的信息。相反,您可能想要使用:
jupyter --paths
并查看配置和数据 - 路径之一是安装位置;如果您想真正了解 jupyter 从何处加载配置,这也可能更有用。
推荐阅读
- python - unittest.mock Patch() 与 monkeypatch
- javascript - 这个javascript中的“/^\s*$/”是什么意思?
- java - 为什么java让我们写更多的代码?
- javascript - CoffeeScript 检查输入的值是 4 位还是 5 位?
- ruby - Jekyll 无法在 Manjaro Linux 上部署 - Sass-Listen-4.0.0 无法在部署时安装(GitLab、Netlify)
- airflow - DAG导入两种方式的区别?
- google-apps-script - 如何识别在 Google Docs 中读取的图像?
- apache-spark - Pyspark 指的是使用 sql 创建的表
- html - 在 Python 中传递多个查询字符串
- node.js - 吉普错误!在 ubuntu 上构建错误