linux下利用python进行数据分析(1)Anaconda 安装

《利用Python进行数据分析》这本书买到手了。不能闲着,马上开始动手实践。先从环境配置开始。

安装过程(参考官方文档 Anaconda官方文档

系统:CentOS 7 (在Win10的Hyper-V上运行的虚拟机)

1.下载安装包放在任意目录

安装包:从官网下载  https://www.continuum.io/downloads#_unix
版本:Python2.7 Linux-64 bit


2.给安装包添加执行权限

chmod +x Anaconda2-2.4.0-Linux-x86_64.sh

3.执行安装包
注:安装包的路径需要根据实际的保存路径做修改
bash ~/Downloads/Anaconda-2.4.0-Linux-x86_64.sh

4.安装过程根据提示一路回车即可。如果需要改变安装目录,根据提示设定即可。
注意点:

NOTE: You do not need root privileges to install Anaconda if you accept the default or select a user-writable install location such as ~/anaconda.

NOTE: If you choose the option to not add the Anaconda directory to your bash shell PATH environment variable, you may later add this line to the file .bashrc in your home directory, replacing the path with the path of your Anaconda binary directory and replacing “username” with your username: exportPATH="/home/username/anaconda/bin:$PATH"


5.安装完成后,关闭终端。重新打开一个终端,运行 ipython 进行安装验证。

  
  
[user@centos-hyperv ~]$ ipython Python 2.7.10 |Anaconda 2.4.0 (64-bit)| (default, Oct 19 2015, 18:04:42) Type "copyright", "credits" or "license" for more information. IPython 4.0.0 -- An enhanced Interactive Python. ?         -> Introduction and overview of IPython's features. %quickref -> Quick reference. help      -> Python's own help system. object?   -> Details about 'object', use 'object??' for extra details. In [1]:
出现上面的提示符,安装成功。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值