版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_33067361/article/details/88710523
jupyter notebook确实是个贼好用的编辑器,但是之前一直因为python版本的原因没能使用,今天不小心解决了,记录一下,希望能同样被困扰的人一点帮助
python版本问题
我没有安装anaconda,直接安装了两个python版本,现在一般用python3(用的时候要使用 py -3 -m来运行),所以我之前只在python2版本下install了jupyter,今天看了一下python3的install 列表(py -3 -m pip list),发现下面没有jupyter,就先install下jupyter,暂时不知道是不是这个问题
jupyter kernel配置
感谢https://www.cnblogs.com/ruyingsuixing/p/9884195.html
在python3的环境下配置,原文作者先切换的环境,我就直接写了
py -3 -m ipkernel install --user
然后就正常打开jupyter notebook,就可以在kernel里面change kernel了!!!!!