Anaconda是安装Jupyter最简便的方式,自带Jupyter.
在Conda中安装,可以用:
conda install jupyter notebook
我这里使用pip安装的方式,打开命令行,输入执行
python -m pip install -U pip setuptools
继续安装jupyter,由于我使用的是python3,这里考虑使用:
pip3 install jupyter
如果有需要可以看一下jupyter的官方文档(可惜暂时没有官方中文版):
https://jupyter.readthedocs.io/en/latest/content-quickstart.html
安装完毕后,执行代码,打开jupyter:
jupyter notebook
浏览器默认被打开:
http://localhost:8888/tree
之后就可以开始研究怎么使用jupyter了~
这里需要注意的是:在哪个路径下启动jupyter,文本就保存在哪个路径下。
今天是10.24。
祝各位大佬节日快乐!代码完美!永无bug!