IPython与IPython Notebook(Jupyter)安装

IPython和IPython Notebook是做机器学习、人工智能的非常好用的工具,可以在浏览器中运行jupyter来进行代码的编辑,使用方便,且会有图形界面显示,是常用的机器学习、人工智能工具。

系统:Windows

1、首先需要安装python和pip

2、在命令行中键入下列指令,使用pip安装IPython、IPython Notebook及IPython和IPython Notebook依赖的相关python包

pip install IPython
pip install urllib3
pip install jupyter
pip install numpy
pip install matplotlib
pip install pandas
pip install scipy
pip install scikit-learn

IPython与IPython Notebook(Jupyter)安装_第1张图片

3、在命令行键入下列命令,启动Ipython

Ipython

并键入下列命令,来进行简单输出

print('hello Ipython & IPython Notebook')

IPython与IPython Notebook(Jupyter)安装_第2张图片

4、在命令行键入

IPython notebook

IPython与IPython Notebook(Jupyter)安装_第3张图片

在跳出来的窗口中选择打开jupyter时使用的浏览器,我选择的是IE浏览器

IPython与IPython Notebook(Jupyter)安装_第4张图片

至此,IPython和Ipython Notebook已安装完成,我们可以在jupyter中通过新建文件或导入文件来运行。

5、新建文件

IPython与IPython Notebook(Jupyter)安装_第5张图片

IPython与IPython Notebook(Jupyter)安装_第6张图片

6、导入文件

IPython与IPython Notebook(Jupyter)安装_第7张图片

 

 

你可能感兴趣的:(软件安装)