【问题标题】:Cannot start Jupyterlab from the terminal after installation of Jupyterlab with pip3 and python3 with homebrew使用 pip3 安装 Jupyterlab 和使用 homebrew 安装 python3 后无法从终端启动 Jupyterlab
【发布时间】:2019-08-22 01:05:43
【问题描述】:

我想从终端启动 Jupyterlab

我使用的是 MacOS 10.14。 我用 Homebrew 安装了 Python 我尝试使用brew install jupyterlab 安装 Jupyter 实验室,但它给了我以下错误消息:

Error: No available formula with the name "jupyterlab" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

我尝试使用pip3 使用命令pip3 install jupyterlab 安装它。有效。但是当我尝试使用命令jupyter lab 启动它时,我收到以下错误消息: 执行 Jupyter 命令“实验室”时出错:

[Errno 2] No such file or directory

当我运行命令brew list时,jupyterlab不在列表中

我怀疑问题在于pip3homebrew 管理路径的方式不同,问题就出在那儿。我该怎么办

【问题讨论】:

    标签: python-3.x pip homebrew jupyter-lab


    【解决方案1】:

    好的,我刚刚用brew (brew reinstall jupyter) 重新安装了jupyter,用pip3 install jupyter lab 重新安装了jupyterlab,它成功了!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-20
      • 1970-01-01
      • 2021-07-27
      • 1970-01-01
      • 2020-07-19
      • 2019-10-10
      • 2016-03-04
      相关资源
      最近更新 更多