问题描述
我花了一周的时间寻找并尝试其他解决方案,但是没有运气.一年多以前,我已经看到其他几个人遇到了同样的问题.
I have spent a week searching and trying different solutions with no luck. I've seen several others having the same problems going back over a year.
问题:
Windows 10 Pro内部版本15063.674
Windows 10 Pro build 15063.674
我正在使用最新的Anaconda 5构建版本以及Python 3.6.2,并且所有软件包都已更新为最新版本.
I'm using the latest Anaconda 5 build with Python 3.6.2 and all the packages are updated to most recent.
运行Jupyter Notebook,一段时间后,Python将崩溃,并显示一个对话框"Python停止工作".这似乎是在笔记本计算机打开了一段时间之后发生的,但是我无法确定确切的时间.它的时间超过15分钟,但几个小时后我也崩溃了.
Running Jupyter Notebook, after some time, python will crash with a dialog "python has stopped working". This seems to happen after the notebook has been open for awhile, but I haven't been able to pinpoint an exact time. It's longer than 15 minutes but I've had it crash after a couple hours too.
无论笔记本是否在使用中,崩溃都会发生,但是在大多数情况下,它是闲置时.
The crash happens whether or not the notebook is in use, but most of the time, it's been while it's idle.
控制台包含如下几行:
Assertion failed: Connection reset by peer (bundled\zeromq\src\signaler.cpp:298)
在此之前的几个月里,我每天都在使用所有没有问题的东西.老实说,我不知道除了Windows自动更新以外还有什么改变.
I had been using everything with no issues, on a daily basis for months prior to this. I honestly have no idea what could have changed other than Windows Automatic updates.
我尝试过的事情:
- 更新水蟒
- 更新所有软件包
- 更新python
- 完全清除后再重新安装anaconda,python和所有软件包
- 再次更新所有内容
- 先删除pyzmq和Jupyter,然后重新安装
- 禁用Windows Defender
- 试图将pyzmq远距离还原到13.1.0,但构建失败
- 我也尝试同时使用
conda
和pip
进行安装/删除
- updating anaconda
- updating all packages
- updating python
- full clean removal then reinstall of anaconda, python, and all packages
- updating everything again
- removing pyzmq and Jupyter then reinstalling
- disabling Windows Defender
- attempted to revert pyzmq on a long shot to 13.1.0 but the build failed
- I've also tried using both
conda
andpip
for installing/removing
我已阅读的主题:
- https://github.com/zeromq/libzmq/issues/1808
- https://github.com/ipython/ipython/issues/9975
- https://github.com/ipython/ipython/issues/9236
- https://github.com/zeromq/libzmq/issues/1108
- https://github.com/zeromq/libzmq/issues/1573
- 为什么会引发python在ZeroMQ客户端中基于某些失败的假设会出现AssertionError?
- 在运行Jupyter笔记本服务器时,Python.exe崩溃
- Jupyter笔记本为何崩溃?
- https://github.com/zeromq/libzmq/issues/1808
- https://github.com/ipython/ipython/issues/9975
- https://github.com/ipython/ipython/issues/9236
- https://github.com/zeromq/libzmq/issues/1108
- https://github.com/zeromq/libzmq/issues/1573
- Why python raised an AssertionError on some failed assumption in a ZeroMQ client?
- Python.exe crashes while running Jupyter notebook sever
- Why Does Jupyter Notebook Crashes?
关于解决此问题的任何建议吗?
Any suggestions on fixing this?
推荐答案
解决方案是卸载名为Networx的程序.
The solution was to uninstall a program called Networx.
我本人不理解该错误,但我从此链接中获得解决方案的人链接此帖子: https://github.com/Microsoft/WSL/issues/1554#issuecomment-339743927
I don't understand the error myself but the person I got the solution from linked this post: https://github.com/Microsoft/WSL/issues/1554#issuecomment-339743927
这篇关于Windows 10上的Jupyter Notebook Python崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!