解决Anaconda下“The kernel has died, and the automatic restart has failed.” 的问题
2017-12-24 15:39
2616 查看
近期在使用Anaconda写cs231n作业,一开始用anaconda做ipython作业还比较顺利,没有出现软件报错什么情况。可是重装系统之后,再次安装完anaconda后去做cs231n作业时就出现了报错:
The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the
notebook is reopened.
第一次用anaconda出现问题,自然是不知道如何解决,于是在网上搜索解决方案,大多都是在stack overflow才能找到很少的解决方案,我陆陆续续也尝试了几个方法,均发现不可行。。
突然在某个评论下发现这句,突然有些想法了,因为我安装的anaconda是以前的安装包,可能部分库没有更新,一些漏洞没有解决,于是为了保险起见,我直接更新了notebook以及jupyter库,在anaconda Prompt 中分别输入一下两句:
conda upgrade notebook
conda upgrade jupyter
之后再次在prompt中输入jupyter notebook 后打开ipython文件,没有出现报错情况!
(附:建议大家在初次安装完anaconda后,为了避免之后可能出现库未更新的问题,不妨先把anaconda里所有的库全部更新~)
The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the
notebook is reopened.
第一次用anaconda出现问题,自然是不知道如何解决,于是在网上搜索解决方案,大多都是在stack overflow才能找到很少的解决方案,我陆陆续续也尝试了几个方法,均发现不可行。。
突然在某个评论下发现这句,突然有些想法了,因为我安装的anaconda是以前的安装包,可能部分库没有更新,一些漏洞没有解决,于是为了保险起见,我直接更新了notebook以及jupyter库,在anaconda Prompt 中分别输入一下两句:
conda upgrade notebook
conda upgrade jupyter
之后再次在prompt中输入jupyter notebook 后打开ipython文件,没有出现报错情况!
(附:建议大家在初次安装完anaconda后,为了避免之后可能出现库未更新的问题,不妨先把anaconda里所有的库全部更新~)
相关文章推荐
- apache 使用之三(解决安装后出现的问题 the requested operation has failed)
- The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse.解决办法
- 解决Eclipse下不自动拷贝apk到模拟器问题( The connection to adb is down, and a severe error has occured)
- android解决”The connection to adb is down, and a severe error has occured“问题
- 问题解决The connection to adb is down, and a severe error has occured.
- The connection to adb is down, and a severe error has occured问题解决
- The connection to adb is down, and a severe error has occured. 问题和解决
- The connection to adb is down, and a severe error has occured. 问题解决
- android关于The connection to adb is down, and a severe error has occured.这个问题的解决办法
- 怎么解决这个问题“The connection to adb is down, and a severe error has occured”
- Android开发模拟器报错问题解决“The Connection to adb is down,and a server error has occured”
- The connection to adb is down, and a severe error has occured.(解决adb server didn't ACK问题)
- 解决adb server didn't ack和 The connection to adb is down, and a severe error has occured的问题
- 运行jupyter notebook中出现:The kernel appears to have died. It will restart automaticall
- "Setup has detected a pending system reboot from a previous install, Setup Cannot continue until the machine is rebooted. Please reboot the machine and run the installation again."问题的解决。
- android中The connection to adb is down .. You must restart adb and Eclipse问题的解决
- The connection to adb is down, and a severe error has occured问题的解决
- Android开发解决The connection to adb is down, and a severe error has occured. 问题
- android关于The connection to adb is down, and a severe error has occured.这个问题的解决办法
- git常见问题之git pull时Automatic merge failed; fix conflicts and then commit the result.