前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >安装ipython和虚拟环境

安装ipython和虚拟环境

作者头像
零月
发布2018-04-25 14:08:12
1K0
发布2018-04-25 14:08:12
举报
文章被收录于专栏:从零开始的linux从零开始的linux

先epel-release这个包,

通过epel源安装pip:

yum install python-pip

然后pip install ipython==1.2.1

pip install ipython==1.2.1

DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6

Collecting ipython==1.2.1

Downloading http://mirrors.aliyun.com/pypi/packages/42/a0/204ecd8b4e76f3399b51addbd39980ec5fa90275ff853879e25508030922/ipython-1.2.1.tar.gz (8.7MB)

45% |██████████████▌ | 3.9MB 62.2MB/s eta 0:00:0

47% |███████████████▏ | 4.1MB 1.9MB/s eta 0:00:0

47% |███████████████▏ | 4.1MB 1.9MB/s eta 0:00:0

47% |███████████████▏ | 4.1MB 1.9MB/s eta 0:00:0

47% |███████████████▎ | 4.1MB 3.6MB/s eta 0:00:0

47% |███████████████▎ | 4.1MB 3.6MB/s eta 0:00:0

47% |███████████████▎ | 4.1MB 3.6MB/s eta 0:00:0

47% |███████████████▍ | 4.2MB 3.6MB/s eta 0:00:0

48% |███████████████▍ | 4.2MB 3.7MB/s eta 0:00:0

48% |███████████████▍ | 4.2MB 3.7MB/s eta 0:00:0

48% |███████████████▌ | 4.2MB 3.7MB/s eta 0:00:0

Installing collected packages: ipython

Found existing installation: ipython 5.3.0

Uninstalling ipython-5.3.0:

Successfully uninstalled ipython-5.3.0

Running setup.py install for ipython ... done

Successfully installed ipython-1.2.1

安装虚拟环境

# yum install -y python-virtualenv

# virtualenv env

# source env/bin/activate

# deactivate

第一个py

#!/usr/bin/python

print 'hello world'

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2017-04-05,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 从零开始的linux 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档