title: Jupyter notebook python crash on Windows 10
body: <p>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.</p>
  
  <p><strong>The issue:</strong></p>
  
  <p>Windows 10 Pro build 15063.674</p>
  
  <p>I'm using the latest Anaconda 5 build with Python 3.6.2 and all the packages are updated to most recent.</p>
  
  <p>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.</p>
  
  <p>The crash happens whether or not the notebook is in use, but most of the time, it's been while it's idle.</p>
  
  <p>The console contains several lines like this:</p>
  
  <pre><code>Assertion failed: Connection reset by peer (bundled\zeromq\src\signaler.cpp:298)
  </code></pre>
  
  <p>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.</p>
  
  <p><strong>What I've tried:</strong></p>
  
  <ul>
  <li>updating anaconda</li>
  <li>updating all packages</li>
  <li>updating python</li>
  <li>full clean removal then reinstall of anaconda, python, and all packages</li>
  <li>updating everything again</li>
  <li>removing pyzmq and Jupyter then reinstalling</li>
  <li>disabling Windows Defender</li>
  <li>attempted to revert pyzmq on a long shot to 13.1.0 but the build failed</li>
  <li>I've also tried using both <code>conda</code> and <code>pip</code> for installing/removing</li>
  </ul>
  
  <p><strong>Threads I've read:</strong></p>
  
  <ul>
  <li><a href="https://github.com/zeromq/libzmq/issues/1808" rel="noreferrer">https://github.com/zeromq/libzmq/issues/1808</a></li>
  <li><a href="https://github.com/ipython/ipython/issues/9975" rel="noreferrer">https://github.com/ipython/ipython/issues/9975</a></li>
  <li><a href="https://github.com/ipython/ipython/issues/9236" rel="noreferrer">https://github.com/ipython/ipython/issues/9236</a></li>
  <li><a href="https://github.com/zeromq/libzmq/issues/1108" rel="noreferrer">https://github.com/zeromq/libzmq/issues/1108</a></li>
  <li><a href="https://github.com/zeromq/libzmq/issues/1573" rel="noreferrer">https://github.com/zeromq/libzmq/issues/1573</a></li>
  <li><a href="https://stackoverflow.com/questions/37962472/why-python-raised-an-assertionerror-on-some-failed-assumption-in-a-zeromq-client">Why python raised an AssertionError on some failed assumption in a ZeroMQ client?</a></li>
  <li><a href="https://stackoverflow.com/questions/39304869/python-exe-crashes-while-running-jupyter-notebook-sever">Python.exe crashes while running Jupyter notebook sever</a></li>
  <li><a href="https://stackoverflow.com/questions/37083950/why-does-jupyter-notebook-crashes">Why Does Jupyter Notebook Crashes?</a></li>
  </ul>
  
  <p>Any suggestions on fixing this?</p>