Ubuntu 16.4 安装anaconda 详细教程
下载
官方下载地址:https://www.continuum.io/downloads
所有安装包地址:https://repo.continuum.io/archive/
这里使用 Python 3.5 版本的 “Anaconda3-4.2.0-Linux-x86_64.sh”
安装
这里参考官方文档:https://docs.continuum.io/anaconda/install/linux.html
根据提示,键入enter继续向下安装
kxlc-t@ubuntu:~/Downloads$ bash Anaconda3-5.1.-Linux-x86_64.sh Welcome to Anaconda3 5.1. In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
阅读完注册信息后,输入yes
Do you accept the license terms? [yes|no]
[no] >>> Please answer 'yes' or 'no':'
回车即可安装
Anaconda3 will now be installed into this location:
/home/kxlc-t/anaconda3 - Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below [/home/kxlc-t/anaconda3] >>>
安装如预期在正常进行
Anaconda3 will now be installed into this location:
/home/kxlc-t/anaconda3 - Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below [/home/kxlc-t/anaconda3] >>>
PREFIX=/home/kxlc-t/anaconda3
installing: python-3.6.-hc3d631a_1 ...
Python 3.6. :: Anaconda, Inc.
installing: ca-certificates-2017.08.-h1d4fec5_0 ...
installing: conda-env-2.6.-h36134e3_1 ...
installing: intel-openmp-2018.0.-hc7b2577_8 ...
installing: libgcc-ng-7.2.-h7cc24e2_2 ...
installing: libgfortran-ng-7.2.-h9f7466a_2 ...
installing: libstdcxx-ng-7.2.-h7a57d05_2 ...
installing: bzip2-1.0.-h9a117a8_4 ...
installing: expat-2.2.-he0dffb1_0 ...
installing: gmp-6.1.-h6c8ec71_1 ...
installing: graphite2-1.3.-hf63cedd_1 ...
installing: icu-58.2-h9c2bf20_1 ...
installing: jbig-2.1-hdba287a_0 ...
installing: jpeg-9b-h024ee3a_2 ...
installing: libffi-3.2.-hd88cf55_4 ...
installing: libsodium-1.0.-hf101ebd_0 ...
installing: libtool-2.4.-h544aabb_3 ...
installing: libxcb-1.12-hcd93eb1_4 ...
installing: lzo-2.10-h49e0be7_2 ...
installing: mkl-2018.0.-h19d6760_4 ...
输入yes,加入环境变量
看到这些信息说明已经安装完成。
根据信息“For this change to become active, you have to open a new
terminal.”(要使这个更改生效,必须打开一个新的终端。)这句话提示,需要在新的终端窗口使用anaconda,打开新的终端,查看相应的版本信息
查看 conda 的版本号
kxlc-t@ubuntu:~$ conda -V
conda 4.4.
kxlc-t@ubuntu:~$
打开 Jupyter Notebook
notebook的打开方式,也很简单
kxlc-t@ubuntu:~$ jupyter notebook
[I ::14.486 NotebookApp] The port is already in use, trying another port.
[I ::14.711 NotebookApp] JupyterLab beta preview extension loaded from /home/kxlc-t/anaconda3/lib/python3./site-packages/jupyterlab
[I ::14.712 NotebookApp] JupyterLab application directory is /home/kxlc-t/anaconda3/share/jupyter/lab
[I ::14.759 NotebookApp] Serving notebooks from local directory: /home/kxlc-t
[I ::14.759 NotebookApp] active kernels
[I ::14.759 NotebookApp] The Jupyter Notebook is running at:
[I ::14.760 NotebookApp] http://localhost:8889/?token=605b46819a7dd5e99d71a07c7f3a53ea4a789b62c6c38764
[I ::14.760 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C ::14.761 NotebookApp] Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8889/?token=605b46819a7dd5e99d71a07c7f3a53ea4a789b62c6c38764
[I ::22.437 NotebookApp] Accepting one-time-token-authenticated connection from 127.0.0.1
下面这种方式,也是可以打开notebook
kxlc-t@ubuntu:~$ ipython notebook
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in the future
[I ::43.605 NotebookApp] The port is already in use, trying another port.
[I ::43.863 NotebookApp] JupyterLab beta preview extension loaded from /home/kxlc-t/anaconda3/lib/python3./site-packages/jupyterlab
[I ::43.864 NotebookApp] JupyterLab application directory is /home/kxlc-t/anaconda3/share/jupyter/lab
[I ::43.944 NotebookApp] Serving notebooks from local directory: /home/kxlc-t
[I ::43.945 NotebookApp] active kernels
[I ::43.945 NotebookApp] The Jupyter Notebook is running at:
[I ::43.945 NotebookApp] http://localhost:8889/?token=7b1a5b2aa3103031569783144f91b92c7dcd8d4c600fa58f
[I ::43.945 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C ::43.947 NotebookApp] Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8889/?token=7b1a5b2aa3103031569783144f91b92c7dcd8d4c600fa58f
[I ::49.516 NotebookApp] Accepting one-time-token-authenticated connection from 127.0.0.1
Ubuntu 16.4 安装anaconda 详细教程的更多相关文章
- Windows + Ubuntu 16.04 双系统安装详细教程
Windows + Ubuntu 16.04 双系统安装详细教程 2018年01月28日 16:43:19 flyyufenfei 阅读数:165619 发现了一篇好教程,果断转载了,以后用得着时 ...
- Ubuntu 16.04安装Matlab 2016b教程
由于代码需要依赖Linux环境,只好尝试着装MATLAB,然而各种问题接踵而至,开始了由MATLAB引发的三天Linux探寻之旅-- 下载Matlab 2016b for Linux https:// ...
- Windows + Ubuntu 16.04 双系统安装详细教程(转)
转载自:http://www.cnblogs.com/Duane/p/6776302.html 前言:本篇文章是对之前文章的更新,更新的主内容是把原来用手机拍摄的图片换成了虚拟机的截图,以及对磁盘划分 ...
- Ubuntu 16.04安装docker详细步骤
1. 卸载之前的旧版本 sudo apt-get remove docker docker-engine docker-ce docker.io 2. 更新apt包 sudo apt-get upda ...
- ubuntu 16.04 安装 Matlab R2016b后启动出现的问题
(1)报以下错误: License checkout failed.License Manager Error -95MATLAB is unable to connect to the licens ...
- Ubuntu 16.04安装QQ国际版图文详细教程
因工作需要,我安装了Ubuntu 16.04,但是工作上的很多事情需要QQ联系,然而在Ubuntu上的WebQQ很是不好用,于是在网上搜索了好多个Linux版本的QQ,然而不是功能不全 ...
- Ubuntu下安装JDK详细教程
Ubuntu下安装JDK详细教程 作者:凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ Ubuntu版本:Ubuntu-12.04.5-desktop-i386 ...
- ubuntu安装scala详细教程
ubuntu14 安装scala详细教程 1.下载scala压缩包 http://www.scala-lang.org/download/ 2.建立目录,解压文件到所建立目录 $ sudo mkdir ...
- 安装WordPress详细教程指南
最近准备自己建一个个人博客,以便分享一些自己工作生活中的一些观点及经验,建博客当然选wordpress,毕竟wordpress是为博客而生的嘛.下边记录一下自己安装WordPress的详细过程指南,亦 ...
随机推荐
- loadrunner java / JAVA_HOME / CLASSPATH / PATH
s Loadrunner 9.5/11 java vuser环境配置问题(已解决) http://blog.csdn.net/achang21/article/details/45540483 Loa ...
- sql 各种常用函数
1.stuff函数 替换制定字符串 stuff(,,'许嵩') 结果: 最帅的许嵩最帅的我 2.replace函数 select replace('蜀云泉真是帅啊','蜀云泉','许嵩') 结果: 许 ...
- UVALive - 7263 Today Is a Rainy Day(bfs)
原题链接 题意 给两个等长的只含数字1,2,3,4,5,6的字符串s(|s|≤110),有两种操作: - 把一个位置的数字换成另一个数字,换成的数字也只能是1到6- 把这个字符串中相同的数字都换成另一 ...
- Java编程思想 学习笔记0(忽略)
前言 emmm...博客荒废了好久,总是有各种借口拖延,做的许多题都没有总结.买了一本厚厚的java书,所以决定先新开一个专题,逼迫自己坚持更新学习进度吧,同时也巩固一下知识,做个记录,不至于荒废时光 ...
- ping 返回的TTL数值代表什么?
ping 返回的TTL数值代表什么? 1 [root@standby ~]# dig @202.106.0.20 www.iqiyi.com 2 3 ; <<>> DiG 9. ...
- 02、@PropertySource指定配置文件的属性映射到JavaBean属性
零.@PropertySource 功能类似于 <context:property-placeholder location="classpath*:/config/load.prop ...
- javaBean的相关知识和应用
javaBean JavaBean 简介 JavaBean 是一种JAVA语言写成的可重用组件.为写成JavaBean,类必须是具体的和公共的,并且具有无参数的构造器.JavaBean 通过提供符合一 ...
- C# unicode 转中文
//Unicode 转中文 private void button1_Click(object sender, EventArgs e) { string unicode = @"\U5fa ...
- hadoop - 基础操作
查看文件: [root@hadoop hadoop]# hadoop fs -lsr /drwxr-xr-x - root supergroup 0 2016-12-27 10:49 /homedrw ...
- JavaScript之打印页面局部区域
/** * [print part area of html page] * @Author JohnnyZen * @DateTime 2017-10-23 * @copyright [johnny ...