【发布时间】:2021-08-07 14:48:03
【问题描述】:
我在运行 Windows 8.1 的系统上安装了 JupyterLab。我没有使用 anaconda,但我已经使用以下命令在 python 安装上直接安装了 jupyterlab:pip install jupyterlab。
Python 版本:3.9.5
当我启动 jupyterlab 时,它没有启动并在我的命令行上显示以下屏幕。
[I 2021-05-18 03:46:08.899 ServerApp] jupyterlab | extension was successfully linked.
[W 2021-05-18 03:46:09.000 ServerApp] The 'min_open_files_limit' trait of a ServerApp instance expected an int, not the NoneType None.
[W 2021-05-18 03:46:10.225 ServerApp] Terminals not available (error was DLL load failed while importing winpty: The specified procedure could not be found.)
[I 2021-05-18 03:46:10.241 LabApp] JupyterLab extension loaded from d:\ds projects\ds\lib\site-packages\jupyterlab
[I 2021-05-18 03:46:10.241 LabApp] JupyterLab application directory is D:\DS Projects\ds\share\jupyter\lab
[I 2021-05-18 03:46:10.281 ServerApp] jupyterlab | extension was successfully loaded.
[I 2021-05-18 03:46:21.104 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-05-18 03:46:21.487 ServerApp] Serving notebooks from local directory: D:\DS Projects
[I 2021-05-18 03:46:21.487 ServerApp] Jupyter Server 1.7.0 is running at:
[I 2021-05-18 03:46:21.487 ServerApp] http://localhost:8888/lab?token=28bc52a925d0808625cbd4254f6f92a0067faa2ae1bcb62d
[I 2021-05-18 03:46:21.487 ServerApp] http://127.0.0.1:8888/lab?token=28bc52a925d0808625cbd4254f6f92a0067faa2ae1bcb62d
[I 2021-05-18 03:46:21.487 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
似乎 jupyterlab 启动然后由于某种原因关闭,我无法弄清楚。此外,我还收到一个弹出窗口,提示 Python 已停止工作。
命令行显示某些 DLL 文件丢失。此外,它还说终端不可用。
【问题讨论】:
-
如果您添加有关正在发生的事情的更多信息,我可能会提供帮助,该控制台不会显示任何错误。是使用一段时间后还是立即出现?
-
你在使用 PowerShell 吗?
-
@krassowski 不,我正在使用命令行。
标签: python jupyter jupyter-lab