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的详细过程指南,亦 ...
随机推荐
- Swift学习笔记7--访问控制
在Swift语言中,访问修饰符有三种,分别为private,internal和public.同时,Swift对于访问权限的控制,不是基于类的,而是基于文件的.其区别如下: 1,private priv ...
- sublime 成对括号高亮显示设置
ctrl+shift+p/pcip(Package Control : Install Package)/ BracketHighlighter(括号高亮插件)
- Calendar add 方法 和set方法
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar c = Calendar. ...
- 为什么要用dubbo,dubbo和zookeeper关系
为什么要用dubbo? 当网站规模达到了一定的量级的时候,普通的MVC框架已经不能满足我们的需求,于是分布式的服务框架和流动式的架构就凸显出来了. 单一应用架构 当网站流量很小时,只需一个应用 ...
- 浅谈分词算法(4)基于字的分词方法(CRF)
目录 前言 目录 条件随机场(conditional random field CRF) 核心点 线性链条件随机场 简化形式 CRF分词 CRF VS HMM 代码实现 训练代码 实验结果 参考文献 ...
- vue常用UI组件
Mint UI 项目主页:http://mint-ui.github.io/#!/zh-cn demo:http://elemefe.github.io/mint-ui/#/ github地址:htt ...
- Keil5下载STM32库
1.http://www.keil.com/dd2 2.3.以STM32L051C8为例 下载即可.
- VMware虚拟机Mac OS X无法调整扩展硬盘大小的解决方案(转)
使用VMware虚拟机搭建的MacOSX,在10.10以上可能会出现无法扩充磁盘大小的问题. 因为很多朋友在初次安装MacOSX的时候都默认选择40G的磁盘大小,结果用了没两天之后就发现磁盘不够用了. ...
- buildroot构建项目(三)--- u-boot 2017.11 适配开发板修改 1
当前虽然编译成功了,但是对于我们自己的目标板并不太适用.还得做一系列得修改. 一.lds 文件分析 u-boot 中最重要得链接文件即是,u-boot.lds.我们可以查看我们编译出来得 u-boot ...
- android 加载图片
package mydemo.mycom.demo2; import android.graphics.Bitmap; import android.graphics.BitmapFactory; i ...