安装 anaconda 过程记录

安装anaconda过程记录(自定义路径)

[root@localhost tools]# sh Anaconda3-5.1.0-Linux-x86_64.sh 

Welcome to Anaconda3 5.1.0

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue     #回车键继续
>>> 
===================================
Anaconda End User License Agreement
===================================

Copyright 2015, Anaconda, Inc.

All rights reserved under the 3-clause BSD License:
……
…… 
Do you accept the license terms? [yes|no]
[no] >>> 
Please answer 'yes' or 'no':'
>>> yes    #yes 同意协议

Anaconda3 will now be installed into this location:
/root/anaconda3

  - Press ENTER to confirm the location     #enter 确认安装在默认路径
  - Press CTRL-C to abort the installation  #放弃安装
  - Or specify a different location below   # 自定义路径

[/root/anaconda3] >>> /opt/anaconda3  # 输入路径
PREFIX=/opt/anaconda3
installing: python-3.6.4-hc3d631a_1 ...
Python 3.6.4 :: Anaconda, Inc.
installing: ca-certificates-2017.08.26-h1d4fec5_0 ...
……
……
installation finished.
Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /root/.bashrc ? [yes|no]  #加入环境变量
[no] >>>  y

Appending source /icooper/anaconda3/bin/activate to /root/.bashrc
A backup will be made to: /root/.bashrc-anaconda3.bak


For this change to become active, you have to open a new terminal.

Thank you for installing Anaconda3!

===========================================================================

Anaconda is partnered with Microsoft! Microsoft VSCode is a streamlined
code editor with support for development operations like debugging, task
running and version control.

To install Visual Studio Code, you will need:
  - Administrator Privileges
  - Internet connectivity

Visual Studio Code License: https://code.visualstudio.com/license

Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]
>>> no  # 是否安装vscode 
[root@localhost tools]# 

安装完成!

常用操作

  1. jupyter 安装kernel
    我的新Python环境是 tensor_py27
(tensor_py27) [root@localhost my_mnist]# conda install ipykernel
……
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(tensor_py27) [root@localhost my_mnist]# python -m ipykernel install --name tensor_py27
Installed kernelspec tensor_py27 in /usr/local/share/jupyter/kernels/tensor_py27
  • 3
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值