现阶段python在人工智能及数据分析中得到了很多的实践成果。而python的编辑器也有很多种,如:pychram、N++、jupyter……其中jupyter以web的形式来进行编辑的工具。接下来讲下如何使用睿江云服务来部署jupyter这强大的工具。
一、环境配置
1.centeos7
2.python3
二、安装jupyter notebook
安装jupyter
安装Jupyter Notebook
通过pip安装Jupyter Notebook
#安装jupyter notebook
python3 -m pip install jupyter
#安装完会在python3的包管理器,创建一个软连接以便在任何地方都可以直接执行
ln -s /usr/local/python3/bin/jupyter /usr/bin/jupyter
通过jupyter notebook命令启动Jupyter服务器,验证是否安装成功
[root@instance-hrnebyqu bin]# jupyter notebook --allow-root
[I 11:26:22.273 NotebookApp] JupyterLab beta preview extension loaded from /root/anaconda3/lib/python3.6/site-packages/jupyterlab
[I 11:26:22.273 NotebookApp] JupyterLab application directory is /root/anaconda3/share/jupyter/lab
[I 11:26:22.277 NotebookApp] Serving notebooks from local directory: /root/ipython
至此,Jupyter Notebook安装成功。