ipython - 无法启动jupyter

标签 ipython jupyter jupyter-notebook

当我尝试运行jupyter时,它向我显示此错误:-

ERROR: the notebook server could not be started because no available port could be found.


终端日志如下:
[I 20:52:08.747 NotebookApp] The port 8888 is already in use, trying another random port.
[I 20:52:08.748 NotebookApp] The port 8889 is already in use, trying another random port.
[I 20:52:08.748 NotebookApp] The port 8890 is already in use, trying another random port.
[I 20:52:08.749 NotebookApp] The port 8891 is already in use, trying another random port.
[I 20:52:08.750 NotebookApp] The port 8892 is already in use, trying another random port.
[I 20:52:08.750 NotebookApp] The port 8988 is already in use, trying another random port.
[C 20:52:08.779 NotebookApp] ERROR: the notebook server could not be started because no available port could be found.
并且,我还检查了系统以检查哪个进程正在该端口上运行,发现没有进程在运行,并且任何进程都没有使用这些端口。但是,我仍然收到该错误。
enter image description here
我也将jupyter的默认端口更改为其他各种端口,但仍然收到相同的错误。

最佳答案

我遇到了同样的问题,然后运行

jupyter notebook --port 9999 

关于ipython - 无法启动jupyter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36518878/

相关文章:

python - IPython 中的嵌入式交互式 shell

pandas - 如何将我的 Pandas 数据框移动到 d3?

ipython - 如何在Jupyter内核中获取cell的ID?

latex - 用于 Latex Minted 包的 IPython 语法词法分析器

python - 使用 ipython 对 dl.open() 的权限被拒绝,但不使用 python

r - Jupyter R Notebook 中的 HTML 小部件

python - 如何正确测量jupyter中单元格的执行时间?

visual-studio-code - 如何在 Visual Studio Code 中显示 python 笔记本的行号

python - 在 Jupyter Notebook 中找不到 OpenCV,但在终端中找到

jupyter-notebook - ipython Notebook的TOC扩展发生了什么?