Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/365.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 无法连接到Jupyter笔记本本地主机_Python_Jupyter Notebook_Tornado - Fatal编程技术网

Python 无法连接到Jupyter笔记本本地主机

Python 无法连接到Jupyter笔记本本地主机,python,jupyter-notebook,tornado,Python,Jupyter Notebook,Tornado,这几天我一直在努力解决这个问题。我在我的笔记本电脑上运行Manjaro Linux,最近我使用pip安装了Jupyter笔记本电脑和Jupyterlab 但是,当我尝试运行它时,会得到以下输出: [I 2021-05-20 16:21:19.980 LabApp] JupyterLab extension loaded from /usr/lib/python3.9/site-packages/jupyterlab [I 2021-05-20 16:21:19.980 LabApp] Jupyt

这几天我一直在努力解决这个问题。我在我的笔记本电脑上运行Manjaro Linux,最近我使用pip安装了Jupyter笔记本电脑和Jupyterlab

但是,当我尝试运行它时,会得到以下输出:

[I 2021-05-20 16:21:19.980 LabApp] JupyterLab extension loaded from /usr/lib/python3.9/site-packages/jupyterlab
[I 2021-05-20 16:21:19.980 LabApp] JupyterLab application directory is /usr/share/jupyter/lab
[I 16:21:20.005 NotebookApp] Serving notebooks from local directory: /home/veducha
[I 16:21:20.005 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 16:21:20.005 NotebookApp] http://localhost:8888/?token=ffd911982ac39542bc13b182354204b7caec5b86dc5ffad4
[I 16:21:20.005 NotebookApp]  or http://127.0.0.1:8888/?token=ffd911982ac39542bc13b182354204b7caec5b86dc5ffad4
[I 16:21:20.005 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 16:21:20.056 NotebookApp] 

To access the notebook, open this file in a browser:
    file:///home/veducha/.local/share/jupyter/runtime/nbserver-72176-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=ffd911982ac39542bc13b182354204b7caec5b86dc5ffad4
 or http://127.0.0.1:8888/?token=ffd911982ac39542bc13b182354204b7caec5b86dc5ffad4
然后在我的浏览器上打开一个选项卡,指出它无法连接到本地主机

我尝试过使用不同的浏览器,在其他帖子中给出的一些答案(例如,降低tornado的级别)似乎不起作用,因为现在你必须拥有最新版本的tornado

有人能帮我吗? 谢谢
E.

Jupyter在8888端口工作,可能端口被阻塞。我如何尝试解除阻塞?