Python学习笔记(二)之 Python学习工具 ipython 与 jupyter notebook 安装

目录

一、环境安装

二、安装 ipython jupyter notebook

三、配置 ipython jupyter notebook

四、使用 Jupyter


 在上一篇笔记中我在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 
  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Zcoder`Blog

嘻嘻~谢谢打赏

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值