当我尝试运行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.
并且,我还检查了系统以检查哪个进程正在该端口上运行,发现没有进程在运行,并且任何进程都没有使用这些端口。但是,我仍然收到该错误。我也将jupyter的默认端口更改为其他各种端口,但仍然收到相同的错误。
最佳答案
我遇到了同样的问题,然后运行
jupyter notebook --port 9999
关于ipython - 无法启动jupyter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36518878/