我已经在运行Windows8.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).这似乎是朱庇特实验室开始,然后关闭,因为某些原因,我无法弄清楚。此外,我还突然发现Python已经停止了的工作。
命令行显示缺少一些DLL文件。此外,它还说没有终端。
发布于 2021-06-09 22:20:43
TLDR,在您的环境中,尝试:
pip install pywin32==228或pywin32==225,227,或300。
我最近遇到了一个类似的问题,并且可以可靠地用jupyter复制它。对我来说,这是由于pywin32版本301的问题。你的可能是类似的(即使301是在你的问题发布后发布的)。
有关更多细节和另一个可能的解决方案,请参见我在这里的答复:https://stackoverflow.com/a/67912292/4705724
https://stackoverflow.com/questions/67584956
复制相似问题