Mac环境下jupyter notebook的安装和使用

版权声明:本文为博主原创文章,如需转载,请注明出处: https://blog.csdn.net/MASILEJFOAISEGJIAE/article/details/89472677

进入控制台
使用以下命令进行安装:
pip install --upgrade pip
pip install jupyter
然后输入
python -m IPython notebook
即可自动打开浏览器的8888端口进入jupyter notebook的页面:


上述是mac默认python版本(python2)的jupyter notebook安装。python3.7安装步骤如下:
pip3.7 install jupyter
python3.7 -m pip install ipykernel
python3.7 -m ipykernel install
python3.7 -m IPython notebook


参考资料:
1.https://www.jianshu.com/p/cb9c3b301f3e
2.https://blog.csdn.net/zongzhengyingzhe/article/details/80920263

猜你喜欢

转载自blog.csdn.net/MASILEJFOAISEGJIAE/article/details/89472677