【问题标题】:jupyter-lab installed but jupyter doesn't see it已安装 jupyter-lab 但 jupyter 没有看到它
【发布时间】:2021-09-10 12:39:45
【问题描述】:

我在 Ubuntu 20.04 上通过 pip3 和 Python 3.8.10 安装了 jupyter-lab。我已经使用它几个月了,但注意到让 KeplerGL 在其中渲染地图时遇到了一些问题。在解决此问题时,我运行jupyter --version 以查看我安装了哪个版本的 jupyterlab(KeplerGL 设置因 jupyter-lab 版本而异),它神秘地说:

jupyter lab : not installed

很奇怪,因为我现在已经打开了;我像这样从命令行启动它:

$ jupyter-lab

我跑了pip3 install jupyterlab,得到了一堆“要求已经满足”的消息。我怀疑这与我无法渲染 KeplerGL 有关,但我此次调查的主要目的是弄清楚为什么 Jupyter 没有看到 jupyter-lab。

【问题讨论】:

  • 您按照安装步骤操作了吗? jupyterlab.readthedocs.io/en/stable/getting_started/…
  • 我做到了。按照说明,运行“pip install jupyterlab”。我使用的是 Python3,所以我使用了 pip3。我还运行了“sudo pip3 install jupyterlab”。
  • 嗯,很奇怪。 macOS 上的相同命令给出jupyter lab : 3.1.12。我建议在 Ubuntu 包错误跟踪器中检查问题。你也可以试试askubuntu.com
  • 我对您检查 Ubuntu 软件包降压跟踪器的建议感到困惑。我没有使用 Ubuntu 软件包 - 我使用 pip3 安装。
  • 对不起,你是对的,这与 Ubuntu 软件包无关

标签: python-3.x jupyter jupyter-lab kepler.gl


【解决方案1】:

您是否确保所有内容都安装在同一个环境中?

【讨论】:

  • 我使用的是 Python3 的基础安装;不使用任何虚拟环境。
猜你喜欢
  • 1970-01-01
  • 2019-04-27
  • 2021-01-10
  • 2021-03-14
  • 1970-01-01
  • 1970-01-01
  • 2021-07-05
  • 2019-12-31
  • 1970-01-01
相关资源
最近更新 更多