jupyter security directory empty, but jupyter notebook list shows a running server
406 观看
1回复
93 作者的声誉
When I run jupyter notebook list
I get:
Currently running servers:
http://localhost:8888/?token=2f349408fa7154054c6f3f63128f3461eb9983ec068726d1 :: /path/to/project
I checked the security
directory, where connection files should be stored for the current profile and it's empty.
I tried jupyter notebook stop
but I get: No such file or directory: ./stop
I also tried listing current open connections using fuser and nettop. The connection is not there, and it shouldn't be as I haven't been working on the listed project for a while.
Jupyter version is 5.0.0, running on Mac OS.
作者: yousraHazem 的来源 发布者: 2017 年 12 月 27 日回应 1
0像
93 作者的声誉
To get the current connections directory I ran jupyter --paths
, following the Jupyter common directories and file locations documentation. From there I picked the runtime directory, so I opened it. The directory contained
- notebook_cookie_secret file
- many files with name format: kernel-hash_number.json
- one file with name format: nbserver-server_number.json
I opened the nbserver-server_number.json
file, and I checked that the token
number is the same one as the one given by jupyter notebook list
. I deleted that file and now Jupyter can't see it as a running server anymore.
来自类别的问题 :
- jupyter-notebook 在Ipython notebook / Jupyter中,Pandas没有显示我试图绘制的图形
- jupyter-notebook 如何在IPython Notebook中编写LaTeX?
- jupyter-notebook 如何在IPython笔记本中打开交互式matplotlib窗口?
- jupyter-notebook "ImportError: No module named" when trying to run Python script
- jupyter-notebook 是否可以在ipython的笔记本中使用不同的颜色进行打印?
- jupyter-notebook 在Firefox中的IPython Notebook中是否有相当于CTRL + C来破坏正在运行的单元格?
- jupyter-notebook 在版本控制下使用IPython笔记本
- jupyter-notebook 调整ipython笔记本输出窗口的大小
- jupyter-notebook 如何重置Jupyter / IPython输入提示编号?
- jupyter-notebook 如何使IPython笔记本matplotlib内联
- jupyter 在IPython / Jupyter笔记本中显示行号
- jupyter 如何通过sympy在ipython笔记本上打印漂亮?
- jupyter 如何加载/编辑/运行/保存文本文件(.py)到IPython笔记本单元格?
- jupyter 如何将ipython笔记本转换为带有折叠输出(和/或输入)的html
- jupyter 如何将python3内核添加到jupyter(IPython)
- jupyter IPython / Jupyter将笔记本保存为PDF的问题
- jupyter 如何在Jupyter Ipython笔记本中注释多行?
- jupyter IPython Notebook中的[*]是什么意思以及如何将其关闭?
- jupyter 更改iPython笔记本服务器/ Jupyter的默认端口