jupyter notebook python已停止工作,Windows 10上的Jupyter Notebook Python崩溃

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 (bundled\zeromq\src\signaler.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:

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 and pip for installing/removing

Threads I've read:

Any suggestions on fixing this?

解决方案

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值