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的详细过程指南,亦 ...
随机推荐
- 用访问控制列表(ACL)实现包过滤
用访问控制列表(ACL)实现包过滤 一.ACL概述 1.ACL(Access Control List,访问控制列表)是用来实现数据包识别功能的 2.ACL可以应用于诸多方面 a>.b包过滤 ...
- window netsh interface portproxy 配置转发
系统版本 windows server2016 datacenter 1.配置443.80端口转发到其他服务器的443.80上 netsh interface portproxy add v4tov4 ...
- Hive记录-Sqoop常用命令
1.sqoop是什么 Sqoop是一款开源的数据迁移工具,主要用于Hadoop(Hive)与传统的关系型数据库(mysql...)相互之间的数据迁移. 2.sqoop的特点 sqoop的底层实现是ma ...
- ruby pluck用法,可以快速从数据库获取 对象的 指定字段的集合数组
可以快速从数据库获取 对象的 指定字段的集合数组 比如有一个users表,要等到user的id数组: select id from users where age > 20; 要实现在如上sql ...
- Postfix 邮件服务 - 基础服务
环境 centos 6.5 x64 测试 IP:172.16.2.18 1.关闭selinux # cat /etc/selinux/config SELINUX=disabled 2.配置 ipta ...
- pyqt5 鼠标操作
#资料 http://blog.sina.com.cn/s/blog_6483fa330102xo6w.html import sysfrom PyQt5.QtWidgets import QAppl ...
- Linux 之【辨析UPDATE/UPGRADE】和安装/卸载软件(apt-get)
一.[辨析UPDATE/UPGRADE] UPDATE: update is used to download package information from all configured sour ...
- django错误笔记(xadmin)——AttributeError: 'Settings' object has no attribute 'TEMPLATE_CONTEXT_PROCESSORS'
使用Xadmin,执行makemigrations和migrate时运行报错提示: AttributeError: 'Settings' object has no attribute 'TEMPLA ...
- django学习~forms
一 简介 今天咱们来聊聊 django强大的表单功能二 Froms作用 1 自动生成HTML表单元素 2 检查表单数据的合法性 3 如果验证错误,重新显示表单(数据不会重置) 4 数据 ...
- Java并发编程(1)-Java内存模型
本文主要是学习Java内存模型的笔记以及加上自己的一些案例分享,如有错误之处请指出. 一 Java内存模型的基础 1.并发编程模型的两个问题 在并发编程中,需要了解并会处理这两个关键问题: 1.1.线 ...