1

过去几个月我一直在使用 jupyter notebook。我第一次遇到这种类型的问题。

确切问题:当我在 jupyter notebook 上运行一个单元时,它运行了很长时间,但没有显示任何输出。

我已经根据一些谷歌搜索尝试过的解决方案: 1. 卸载 anaconda 并重新安装。2. 更新 conda 3. 更新 ipykernel 4. 下载并安装 microsoft visual c++ 2015 redistribute update 3 5. 重新启动内核并再次尝试 6. 关闭运行选项卡中的文件 7. 依此类推。

属性: 1.Windows 10 Pro 2.Python:Python 3.6.7 3.Jupyter:-jupyter 核心:4.6.3 jupyter-notebook: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 traitlets:4.3.3 4. Anaconda 3 - 64 位

jupyter notebook 提示中显示错误:

[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

由于我是新用户,我无法发布图像。所以我附上了该图像的驱动器链接。

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

4

0 回答 0