Python,IPython notebook,Jupyter notebook的安装
IPython notebook,Jupyter notebook的快速安装
最近在弄IPython notebook的一些学习,遇到了一些安装的问题,所以写了一些东西出来。
首先解释一下IPython notebook,Jupyter notebook的关系。
IPython notebook是Jupyter notebook的前身。
Jupyter notebook是IPython notebook的一些封装和功能的拓展,界面上也稍有不同(后面会有显示)
步骤一
首先先确认一下是否已经安装了pip。
python -m pip list
如果能出现下图,即说明已经安装成功,否者需要安装不成功
pip安装教程(很简单,这里就不多写了)
https://jingyan.baidu.com/article/b907e627a072a846e6891c5a.html
步骤二
Jupyter notebook的安装(很简单的一条语句,即可安装成功)
pip install jupyter notebook
note:因为Jupyter notebook要新于IPython notebook,所以一般可安装Jupyter notebook,而IPython notebook的安装语句也很类似,安装一个即可
pip install IPython notebook
步骤三
启动 Jupyter notebook,在cmd里面输入(不是在python命令行里面)
jupyter notebook
出现如图即成功
note:浏览器打开的目录是当前cmd所在的目录,要想改变这个目录,在cmd中庸cd进入其他的目录即可
That`s all. Thanks.