ipython和jupyter安装配置
2018-08-03 10:02
351 查看
pip通用配置
pip是python的包管理工具,3.x的版本直接带,可以直接使用,和Yum一样,为了使用国内镜像,如下配置
Linux系统:
$ mkdir ~/.pip
$vim ~/.pip/pip.conf
[global]
index-url=index-url = https://pypi.tuna.tsinghua.edu.cn/simple
redis就已安装好了
如果的提示说Pip版本太低,根据提示直接升级
$ pip install --upgrade pip -vvv
去查看下redis包的安装信息
返回到cmdb目录安装ipthon,如果离开cmdb目录,ipython就没了
$ cd magedu/projects/cmdb/
$ pip install ipython
$ ipython检查是否安装好
Jupyter
是基于WEB的交互式笔记本,其中可以非常方便的使用python;
安装Jupyter,也会安装Ipython
$ pip install jupyter
查看帮助文档
$ jupyter notebook help
这个密码是通过网页登陆的时候需要用到,我们需要去添加下密码
$ jupyter notebook password
启动jupyter
$ jupyter notebook --ip=0.0.0.0 --no-browser &
打开浏览器,输入服务器IP加端口就可以正常使用了,默认端口为8888
pip是python的包管理工具,3.x的版本直接带,可以直接使用,和Yum一样,为了使用国内镜像,如下配置
Linux系统:
$ mkdir ~/.pip
$vim ~/.pip/pip.conf
[global]
index-url=index-url = https://pypi.tuna.tsinghua.edu.cn/simple
redis就已安装好了
如果的提示说Pip版本太低,根据提示直接升级
$ pip install --upgrade pip -vvv
去查看下redis包的安装信息
返回到cmdb目录安装ipthon,如果离开cmdb目录,ipython就没了
$ cd magedu/projects/cmdb/
$ pip install ipython
$ ipython检查是否安装好
Jupyter
是基于WEB的交互式笔记本,其中可以非常方便的使用python;
安装Jupyter,也会安装Ipython
$ pip install jupyter
查看帮助文档
$ jupyter notebook help
这个密码是通过网页登陆的时候需要用到,我们需要去添加下密码
$ jupyter notebook password
启动jupyter
$ jupyter notebook --ip=0.0.0.0 --no-browser &
打开浏览器,输入服务器IP加端口就可以正常使用了,默认端口为8888
相关文章推荐
- [PY3]——环境配置(1)——pyenv | pip | ipython | jupyter(含安装pyenv环境shell脚本)
- Mac安装jupyter(原ipython)方法
- Linux下安装IPython配置python开发环境教程
- Ubuntu系统下IPython Notebook的安装和远程访问配置
- IPython3的安装及配置
- 安装ipython和jupyter
- IPython notebook的安装配置
- Windows7基于Python3.5安装Ipython notebook(现称jupyter)
- linux/ubuntu下IPython、IPython Notebook(jupyter)的安装和基本使用
- JuPyter(IPython) Notebook中通过pip安装第三方Python Module
- 阿里云centOS6 下python安装及配置、pip安装及配置、ipython安装及配置
- 安装配置远程ipython notebook
- Ubuntu16.04 Jupyter安装(Ipython Notebook安装)
- Spark ML 分布式机器学习(一):iPython+spark安装与环境变量配置
- jupyter安装及配置scala、spark、pyspark内核
- windows10安装ipython jupyter
- IPython与Jupyter notebook 安装与配置,插件扩展,主题,PDF输出
- Mac上python3安装IPython及Jupyter
- Python,IPython,qtconsole,Notebook,Jupyter快速安装教程
- linux下python安装(Anaconda)和ipython远程服务器链接配置