Jupyter笔记本未显示输出

时间:2020-08-04 16:03:37

标签: jupyter-notebook anaconda jupyter jupyter-console

过去几个月来我一直在使用jupyter笔记本。我是第一次遇到这类问题。

确切的问题:当我在jupyter笔记本上运行单元时,它运行了很长时间,但是没有显示任何输出。

我已经根据一些Google搜索尝试过的解决方案: 1.卸载anaconda并重新安装。 2.更新的conda 3.更新了ipykernel 4.下载并安装Microsoft Visual C ++ 2015重新分发更新3 5.重新启动内核,然后重试 6.在运行选项卡中关闭文件 7.依此类推。

属性: 1. Windows 10专业版 2. Python:Python 3.6.7 3. Jupyter:- jupyter核心:4.6.3 jupyter笔记本:6.1.1 qtconsole:4.7.5 ipython的:7.16.1 ipykernel:5.3.4 jupyter客户:6.1.6 jupyter实验室:未安装 nbconvert:5.6.1 ipywidgets:7.5.1 nbformat:5.0.7 特质:4.3.3 4. Anaconda 3-64位

在jupyter笔记本提示中显示错误:

[I 21:24:04.349 NotebookApp] JupyterLab extension loaded from C:\Users\Mathesh\Anaconda3\lib\site-packages\jupyterlab
[I 21:24:04.349 NotebookApp] JupyterLab application directory is C:\Users\Mathesh\Anaconda3\share\jupyter\lab
[I 21:24:04.411 NotebookApp] Serving notebooks from local directory: C:\Users\Mathesh
[I 21:24:04.411 NotebookApp] The Jupyter Notebook is running at:
[I 21:24:04.418 NotebookApp] http://localhost:8888/?token=8e7be14b316ad1fd7bfb00fe144e3a98ea7655979b6d18dd
[I 21:24:04.418 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 21:24:04.555 NotebookApp]

Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
    http://localhost:8888/?token=8e7be14b316ad1fd7bfb00fe144e3a98ea7655979b6d18dd
[I 21:24:15.956 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[I 21:24:47.204 NotebookApp] Kernel started: f321d571-c5dc-41c0-867e-6e69da753793
[I 21:25:07.344 NotebookApp] Starting buffering for f321d571-c5dc-41c0-867e-6e69da753793:2828c21d9fb2439fb9aa4251d66f845a
[I 21:25:08.333 NotebookApp] Restoring connection for f321d571-c5dc-41c0-867e-6e69da753793:2828c21d9fb2439fb9aa4251d66f845a
[W 21:26:38.362 NotebookApp] WebSocket ping timeout after 90013 ms.
[I 21:26:43.385 NotebookApp] Starting buffering for f321d571-c5dc-41c0-867e-6e69da753793:2828c21d9fb2439fb9aa4251d66f845a
[I 21:26:44.458 NotebookApp] Restoring connection for f321d571-c5dc-41c0-867e-6e69da753793:2828c21d9fb2439fb9aa4251d66f845a
[I 21:26:45.506 NotebookApp] Saving file at /Desktop/Testing_Sample.ipynb
[I 21:27:35.723 NotebookApp] Kernel restarted: f321d571-c5dc-41c0-867e-6e69da753793
[I 21:27:45.719 NotebookApp] Starting buffering for f321d571-c5dc-41c0-867e-6e69da753793:2828c21d9fb2439fb9aa4251d66f845a
[I 21:27:45.860 NotebookApp] Saving file at /Desktop/Testing_Sample.ipynb
[I 21:27:53.886 NotebookApp] Kernel shutdown: f321d571-c5dc-41c0-867e-6e69da753793
[W 21:27:53.891 NotebookApp] 404 POST /api/kernels/f321d571-c5dc-41c0-867e-6e69da753793/restart (::1): Kernel does not exist: f321d571-c5dc-41c0-867e-6e69da753793
[W 21:27:53.892 NotebookApp] Kernel does not exist: f321d571-c5dc-41c0-867e-6e69da753793
[W 21:27:53.892 NotebookApp] 404 POST /api/kernels/f321d571-c5dc-41c0-867e-6e69da753793/restart (::1) 19414.84ms referer=http://localhost:8888/notebooks/Desktop/Testing_Sample.ipynb

供参考的示例图片: https://drive.google.com/file/d/1aITxCLfK1NViosRCdE6iORTHtO9sDgYX/view?usp=sharing

由于我是新用户,因此无法发布图像。因此,我已附加了该图像的驱动器链接。

提前感谢您抽出宝贵时间回答我的问题。

0 个答案:

没有答案