目录
在上一篇笔记中我在VMware虚拟机中安装了 pyenv 环境,使用 anaconda3-4.1.0 的 pyenv的Python环境 进行ipython jupyter notebook安装
一、环境安装
1. 安装pip
[root@zhang ~]# yum install -y epel-release python-pip python-devel
2. 安装开发工具集
[root@zhang ~]# yum groupinstall 'Development Tools' -y
二、安装 ipython jupyter notebook
注:pip 存在于 anaconda3-4.1.0 的Python版本中
[root@zhang ~]# pip install ipython jupyter notebook
pyenv: pip: command not found
The `pip' command exists in these Python versions:
anaconda3-4.1.0
#切换当前全局Python版本
[root@zhang ~]# pyenv global anaconda3-4.1.0
#安装ipython jupyter notebook
(anaconda3-4.1.0) [root@zhang ~]# pip install ipython jupyter notebook
三、配置 ipython jupyter notebook
如果你只在本机使用notebook,那么这一步可以省去,使用 jupyter notebook 命令启动jupyter。如果你想把notebook做为公共服务供其它人使用,配置允许远程访问:
1. 设置openssl以保证其安全性
注:可以 回车 使用默认设置
#可以 回车 使用默认设置
(anaconda3-4.1.0) [root@zhang