当我尝试运行jupyter时,它会显示错误: -
错误:无法启动笔记本服务器,因为找不到可用的端口。
终端日志如下: -
[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的默认端口更改为其他各种端口,但仍然会出现相同的错误。