一、闪退情况
打开jupyter notebook,出现0.1秒的黑框,然后闪退了。
引起闪退原因:在cmd里面输入了一条命令:升级pip(具体的忘记了)
但其实是跟cmd没有关系的,就是我输错界面了
然后就开始下载一下东西,但是最后报错了,导致了我的jupyter notebook开始闪退,如下图所示:
二、解决办法
在Anaconda prompt里输入以下代码:
pip install --upgrade --force-reinstall --no-cache-dir jupyter --ignore-installed entrypoints
重新打开jupyter notebook,就成功啦!