安装anaconda3在linux环境

linux上安装anaconda3

sftp:
cd root
lcd …/Anaconda3-5.2.0-Linux-x86_64.sh所在本地路径
put Anaconda3-5.2.0-Linux-x86_64.sh Anaconda3-5.2.0-Linux-x86_64.sh
安装目标路径为/usr/local/anaconda3 ,安装前不要创建anaconda3文件夹
#安装
sh Anaconda3-5.2.0-Linux-x86_64.sh
按enter 、 yes
当执行到:
Anaconda3 will now be installed into this location:
/root/anaconda3

  • Press ENTER to confirm the location
  • Press CTRL-C to abort the installation
  • Or specify a different location below
安装各种包

[/root/anaconda3] >>> /usr/local/anaconda3 # 输入自定义目录
按enter后,等待,会陆续安装各种包,此处以python-3.6.5为例,您可以安装最新版
PREFIX=/usr/local/anaconda3
installing: python-3.6.5-hc3d631a_2 …
Python 3.6.5 : Anaconda, Inc.
installing: blas-1.0-mkl …
installing: ca-certificates-2018.03.07-0 …

You may wish to edit your .bashrc to prepend the Anaconda3 install location to PATH:
export PATH=/usr/local/anaconda3/bin:$PATH

添加环境变量

vi .bashrc
按insert,输入:
export PATH=“/usr/local/anaconda3/bin:$PATH”
按ESC,输入 :wq!
#加载环境变量
source ~/.bashrc
#测试安装是否成功
python
#anaconda3安装包所在路径
/usr/local/anaconda3/lib/python3.6/site-packages

上一篇: 在linux环境连接oracle
下一篇: 乘用车销量预测
8omo8
博客等级 码龄14年 42粉丝 · 8原创
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值