当我运行 jupyter notebook list
时,我得到:
Currently running servers:
http://localhost:8888/?token=2f349408fa7154054c6f3f63128f3461eb9983ec068726d1 :: /path/to/project
我检查了security
目录,其中应为当前配置文件存储连接文件,并且是空的。
我尝试了jupyter notebook stop
,但我得到:No such file or directory: ./stop
我还尝试使用Fuser和NetTop列出当前的打开连接。连接不存在,也不应该是因为我已经有一段时间没有在列出的项目上工作了。
Jupyter版本为5.0.0,在Mac OS上运行。
以遵循jupyter公共目录和文件位置文档,获取当前连接目录i ran jupyter --paths
。从那里我选择了运行时目录,所以我打开了它。目录包含
- Notebook_cookie_secret文件
- 许多具有名称格式的文件:kernel-hash_number.json
- 一个具有名称格式的文件:nbserver-server_number.json
我打开了nbserver-server_number.json
文件,然后检查了token
号与jupyter notebook list
给出的数字相同。我删除了该文件,现在Jupyter再也看不到它是运行服务器了。