1. 程式人生 > >Ubuntu16.04安裝Anaconda2和Anaconda3

Ubuntu16.04安裝Anaconda2和Anaconda3

1. 安裝Anaconda2;

[email protected]-pc:~$ bash Anaconda2-4.3.0-Linux-x86_64.sh 

Welcome to Anaconda2 4.3.0 (by Continuum Analytics, Inc.)

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

輸入Enter回車, 下面讓你看License,直接往下翻到最後

================
Anaconda License
================

Copyright 2016, Continuum Analytics, Inc.

All rights reserved under the 3-clause BSD License:
...
cryptography
A Python library which exposes cryptographic recipes and primitives.

Do you approve the license terms? [yes|no]
>>> 
Please answer 'yes'
or 'no': >>> yes
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15

輸入yes;

Anaconda2 will now be installed into this location:
/home/darcy/anaconda2

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/darcy/anaconda2] >>> 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

輸入Enter回車, 安裝到預設目錄;

PREFIX=/home/darcy/anaconda2
installing: python-2.7.13-0 ...
...
installing: anaconda-4.3.0-np111py27_0 ...
installing: ruamel_yaml-0.11.14-py27_1 ...
installing: conda-4.3.8-py27_0 ...
installing: conda-env-2.6.0-0 ...
Python 2.7.13 :: Continuum Analytics, Inc.
creating default environment...
installation finished.
Do you wish the installer to prepend the Anaconda2 install location
to PATH in your /home/darcy/.bashrc ? [yes|no]
[no] >>> yes
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13

輸入yes, 新增路徑到配置檔案;

Prepending PATH=/home/darcy/anaconda2/bin to PATH in /home/darcy/.bashrc
A backup will be made to: /home/darcy/.bashrc-anaconda2.bak

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

Thank you for installing Anaconda2!

Share your notebooks and packages on Anaconda Cloud!
Sign up for free: https://anaconda.org
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

執行 如下命令,啟用配置環境

[email protected]:~$ source ~/.bashrc
[email protected]:~$ python
Python 2.7.13 |Anaconda 4.3.0 (64-bit)| (default, Dec 20 2016, 23:09:15) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> 
>>> exit()
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

2. 安裝Anaconda3

[email protected]-pc:~$ bash Anaconda3-4.3.0-Linux-x86_64.sh 

Welcome to Anaconda3 4.3.0 (by Continuum Analytics, Inc.)

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

Enter回車, 直接到License顯示完畢;

================
Anaconda License
================

Copyright 2016, Continuum Analytics, Inc.

All rights reserved under the 3-clause BSD License:

...
cryptography
A Python library which exposes cryptographic recipes and primitives.

Do you approve the license terms? [yes|no]
>>> 
Please answer 'yes' or 'no':
>>> yes
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16

輸入yes, 同意 License;

Anaconda3 will now be installed into this location:
/home/darcy/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/darcy/anaconda3] >>> 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

輸入Enter回車, 安裝到預設目錄;

PREFIX=/home/darcy/anaconda3
installing: python-3.6.0-0 ...
installing: _license-1.1-py36_1 ...
...
installing: zlib-1.2.8-3 ...
installing: anaconda-4.3.0-np111py36_0 ...
installing: ruamel_yaml-0.11.14-py36_1 ...
installing: conda-4.3.8-py36_0 ...
installing: conda-env-2.6.0-0 ...
Python 3.6.0 :: Continuum Analytics, Inc.
creating default environment...
installation finished.
Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /home/darcy/.bashrc ? [yes|no]
[no] >>> yes
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15

輸入yes, 新增環境變數;

Prepending PATH=/home/darcy/anaconda3/bin to PATH in /home/darcy/.bashrc
A backup will be made to: /home/darcy/.bashrc-anaconda3.bak


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

Thank you for installing Anaconda3!

Share your notebooks and packages on Anaconda Cloud!
Sign up for free: https://anaconda.org
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

執行如下命令,啟用配置檔案;

[email protected]:~$ source ~/.bashrc
[email protected]:~$ python3
Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 12:22:00) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> 
>>> exit()
[email protected]:~$ /usr/bin/py
py3clean      pyclean       pydoc3        pygettext3    python2.7     python3m      
py3compile    pycompile     pydoc3.5      pygettext3.5  python3       pyversions    
py3versions   pydoc         pygettext     python        python3.5     
pybuild       pydoc2.7      pygettext2.7  python2       python3.5m    
[email protected]:~$ /usr/bin/python
Python 2.7.12 (default, Nov 19 2016, 06:48:10) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
[email protected]:~$ /usr/bin/python3
Python 3.5.2 (default, Nov 17 2016, 17:05:23) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> exit()本文轉自http://blog.csdn.net/hezhiqiang1314/article/details/57077404

相關推薦

Ubuntu16.04安裝Anaconda2Anaconda3

1. 安裝Anaconda2; [email protected]-pc:~$ bash Anaconda2-4.3.0-Linux-x86_64.sh Welcome to Anaconda2 4.3.0 (by Continuum Analytics

ubuntu16.04 安裝composer laravel

all option ubuntu16 使用 nts force disable span get 一、安裝composer $ sudo apt-get update $ sudo apt-get install wget 下載composer.phar $

CAFFE(0):Ubuntu 下安裝anaconda2anaconda3

AR sdn tail art 技術分享 1.0 3.5 blank 條件 這個步驟可以看做是安裝caffe可以進行或者不必要的步驟,不過筆者建議安裝anaconda2和anaconda3,裏面會包含很多的模塊,省去caffe學習過程中出現模塊不存在的各種錯誤。 第一步、進

Ubuntu16.04安裝配置使用ctags

刪除 可執行 exe path opencv 了吧 -- sta ntc Ubuntu16.04安裝配置和使用ctags by ChrisZZ ctags可以用於在vim中的函數定義跳轉。在ubuntu16.04下默認提供的ctags是很老很舊的ctags,快要發黴的版本(

ubuntu16.04安裝lampswoole

安裝Apache2 sudo apt-get install apache2 在/etc/apache2/sites-available目錄下有000-default.conf檔案 將000-default.conf檔案複製一份叫做demo.conf(sudo cp 000-defaul

ubuntu16.04安裝pydotgraphviz的問題

在keras視覺化計算圖時,需要提前安裝pydot和graghviz,但pip install pydot graghviz後卻還是報如下錯誤: ImportError: Failed to import pydot. You must install pyd

Ubuntu16.04 安裝xgboost(anaconda3

首先安裝anaconda3,這個沒什麼好說的 之後需要先升級下anaconda3,命令'conda install libgcc' 最後就是安裝xgboost了,命令pip install xgboo

ubuntu上同時安裝anaconda2anaconda3

anaconda官網上下載anaconda2和anaconda3的安裝包。用sh命令執行安裝包,過程全部選yes。將anaconda3/bin中與anaconda2/bin重複的命令符號連結,ln -s pip pip3ln -s conda conda3ln -s pyth

ubuntu16.04安裝nginxphp-fpm後進程正常啟動下php檔案無法訪問

首先 在安裝完後要將nginx的配置檔案修改將如下程式碼的註釋去掉 location ~ \.php$ {            root           /usr/local/nginx/html;            fastcgi_pass   127.0.0.1

Ubuntu14.4下怎麼安裝anaconda2anaconda3兩個版本

參見了某個大佬的方法: 我之前安裝過anaconda2,但是由於做cs231n上面的程式碼需要3.5或者3.6,所以我就在官網上下載了新的版本的anaconda3,我們在官網下載的是sh檔案,我第一次直接在Ubuntu環境下執行這個命令,發現很多都出錯了,於是我就rm -

Ubuntu16.04安裝pycharm新增圖示

1、解壓 tar -zxvf  pycharm*.tar.gz -C ~2、 sh ./pycharm* /bin/pycharm.sh3、建立圖示    a、在桌面建立一個檔案:pycharm.desktop    b、編輯這個檔案,新增以下內容(Exec是sh檔案位置(以

Ubuntu16.04下同時安裝Anaconda2Anaconda3

tps tools strong 安裝 a* 根據 tails environ 自動更新 轉自:http://blog.csdn.net/juezhanangle/article/details/78922888 由於編程時同時需要有python2/3的環境和大量的依賴包,

ubuntu16.04安裝使用Anaconda3(詳細)

ubuntu16.04安裝和使用Anaconda3(詳細) 1.前言 現在的ubuntu系統都自帶了python2.7版,而有時工作需要py3。 如果你在糾結到底該裝 Python2 呢還是 Python3? 總所周知,python2和python3在語法上是不相容的,

anaconda2anaconda3共存條件下都安裝上Scrapy庫的方法

pan path 由於 libs 頁面 。。 完整 sat 1.4 【寫在前面】 網上有很多改名字的方法,將python3.6下的python.exe修改成python3.exe的方法在我的電腦上不成功,而且據說這樣修改之後的後遺癥很多,以後再使用python3.6的時候有

ubuntu16.04安裝Anaconda3後切換使用原始python2.7版本

安裝Anaconda3後,如果使用了其自動改變環境變數,那麼預設的python ,pip都將變為Anaconda下的 這時如果想切換預設python為原始獨立python, 1. sudo gedit ~/.bashrc 2. 新增 alias python=/usr/bin/python2.7

訊息佇列:Ubuntu16.04安裝Web頁面管理RabbitMQ(樓主親測、真實有效)

RabbitMQ 總來來說,RabbitMQ的安裝還是有一些難度的。不同的方式,安裝的方法也是完全不一樣,還要解決蠻多依賴。加上現在有些網站,極其不負責,很多博文都沒有經過測試檢驗就直接發出來的。樓主來親測一下,希望能對大家有好的幫助。 一、安裝前的準備 要確保,你有Erla

Ubuntu16.04安裝OpenCV-3.4.3的C++python版本(含anaconda建立的python環境)詳細步驟與總結(乾貨)

一、原始碼編譯安裝(C++版) 1.安裝一系列依賴項: sudo apt-get install build-essential sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev

ubuntu16.04 安裝解除安裝mysql

安裝mysql sudo apt install mysql-server sudo apt isntall mysql-client sudo apt install libmysqlcli

ubuntu16.04安裝opencv2.xopencv3.x 共存

# OpenCV33   官網安裝教程: https://docs.opencv.org/3.3.0/d7/d9f/tutorial_linux_install.ht

ubuntu16.04安裝nvidia geforce gtx1080ti顯示卡驅動cuda10.0用來執行gromacs-gpu

1. 走不通的方法 如上圖所示,我使用ubuntu自帶的軟體software&updates的additional drivers欄安裝nvidia顯示卡驅動(nvidia-384,這個驅動並不是最新的驅動), 而且我沒有禁用nouveau。如下所示,vmd能夠