首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Python jupyter webserver服务器在3-5秒后停止

Python jupyter webserver服务器在3-5秒后停止
EN

Stack Overflow用户
提问于 2021-01-27 12:13:16
回答 1查看 30关注 0票数 0

我如何安装jupyter:

代码语言:javascript
复制
pip install --upgrade pip

pip install jupyter

在我运行之后:

代码语言:javascript
复制
jupyter notebook

它在我的firefox浏览器中打开一个选项卡,并将我带到jupyter笔记本,命令行上的输出是:

代码语言:javascript
复制
C:\Users\Owner>jupyter notebook
[I 23:07:15.090 NotebookApp] Serving notebooks from local directory: C:\Users\Owner
[I 23:07:15.090 NotebookApp] Jupyter Notebook 6.2.0 is running at:
[I 23:07:15.090 NotebookApp] http://localhost:8888/?token=6381c19dc8bd8d2687358935960a866af154c171af9bb5b2
[I 23:07:15.090 NotebookApp]  or http://127.0.0.1:8888/?token=6381c19dc8bd8d2687358935960a866af154c171af9bb5b2
[I 23:07:15.090 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 23:07:15.173 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///C:/Users/Owner/AppData/Roaming/jupyter/runtime/nbserver-10788-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=6381c19dc8bd8d2687358935960a866af154c171af9bb5b2
     or http://127.0.0.1:8888/?token=6381c19dc8bd8d2687358935960a866af154c171af9bb5b2

大约3-5秒后,在命令行中jupyter停止运行,我返回到

代码语言:javascript
复制
C:\Users\Owner>

在命令行中。比如jupyter程序停止运行,the服务器当然也会在3-5秒后停机。

Windows 10 Python 3.7.5

EN

回答 1

Stack Overflow用户

发布于 2021-01-27 13:14:11

我没有安装很多模块,所以我只是重新安装了python,它似乎可以工作。我尝试了其他一些方法,但没有成功,这不是最好的解决方案,但至少我让它起作用了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65912803

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档