【问题标题】:How to stop jupyter server using anaconda如何使用 anaconda 停止 jupyter 服务器
【发布时间】:2018-03-01 08:54:15
【问题描述】:

我正在使用 anaconda navigator 启动 jupyter notebook 服务器,但是当我想停止服务器时,我找不到方法。

因为我在使用anaconda navigator时没有终端,所以无法使用Ctrl +c来停止服务器。我在 Windows 上运行。

任何帮助将不胜感激^_^

【问题讨论】:

  • 你在哪个操作系统上?
  • 对不起,我没有提到这个,我使用的是 windows。

标签: python anaconda jupyter


【解决方案1】:

您可以单击关闭 anaconda 导航器时出现的复选框。

如果您已经关闭导航器,请打开 cmd 并输入 jupyter-notebook list

然后您可以使用以下命令终止该端口:

netstat -o -n -a | findstr :3000
   TCP    0.0.0.0:3000      0.0.0.0:0              LISTENING       3116

taskkill /F /PID 3116

用正在运行的端口替换 findstr 参数。 More info 关于如何在 Windows 中杀死进程。

【讨论】:

  • 这就是我所需要的,它对我有用,非常感谢。
  • 很高兴它有帮助。您可以将此标记为答案,以便对其他人也有帮助。
猜你喜欢
  • 1970-01-01
  • 2019-10-19
  • 1970-01-01
  • 1970-01-01
  • 2014-12-15
  • 2012-02-27
  • 2017-06-14
  • 2011-10-18
  • 2014-01-04
相关资源
最近更新 更多