Jupyter notebook python crash on Windows 10
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.
The issue:
Windows 10 Pro build 15063.674
I'm using the latest Anaconda 5 build with Python 3.6.2 and all the packages are updated to most recent.
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.
The console contains several lines like this:
Assertion failed: Connection reset by peer (bundledzeromqsrcsignaler.cpp:298)
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.
What I've tried:
conda
and pip
for installing/removing Threads I've read:
Any suggestions on fixing this?
From the first issue thread you linked, it looks like this issue is with ZeroMQ, with little hope for resolution. One poster (UniversalAE) in that thread seemed to have success with replacing ZeroMQ with RabbitMQ. Absent an update to ZeroMQ that resolves this, or any specific requirement for ZeroMQ, I would advise doing the same, ie swap out ZeroMQ for RabbitMQ.
The solution was to uninstall a program called Networx.
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
链接地址: http://www.djcxy.com/p/68946.html上一篇: 使用Andengine绘制一个圆