您的位置:首页 > 其它

mac 下用chrome浏览器打开jupyter notebook 出现dead kernel问题

2018-03-25 11:58 2306 查看
在terminal 下运行 jupyter notebook, 随后在chrome下打开一个py文件,
浏览器下出现“The kernel has died, and the automatic restart has failed”对话框,
terminal 下出现/Users/thisuser/anaconda/bin/python: No module named ipykernel_launcher

问题出现的原因是 ipykernel的版本太老了,或者之前安装其他python版本的时候,有冲突的 ipykernel_launcher

所以通过upgrade ipykernel

terminal 输入
for python 2.    sudo pip install --upgrade ipykernel

for python 3.    sudo pip3 install --upgrade ipykernel

问题解决
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: