Anaconda指的是一個開源的Python發行版本,其包含了conda、Python等180多個科學包及其依賴項。 因為包含了大量的科學包,Anaconda 的下載文件比較大(約 531 MB),如果只需要某些包,或者需要節省帶寬或存儲空間,也可以使用Miniconda這個較小的發行版(僅包含conda和 Python)。
下載可以去官方下載不過有點慢,網址:https://www.anaconda.com/download/
也可以去這個網址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 下載比較快
把下載好的文件上傳到目錄/home/python/Anaconda3 下:
[python@master Anaconda3]$ sh Anaconda3-2018.12-Linux-x86_64.sh
Welcome to Anaconda3 2018.12
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
然后按Enter鍵
Do you accept the license terms? [yes|no]
[no] >>>
然后輸入:yes再按Enter鍵就開始安裝:
>>> yes
Anaconda3 will now be installed into this location:
/home/python/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/python/anaconda3] >>>
PREFIX=/home/python/anaconda3
.......
installing: conda-build-3.17.6-py37_0 ...
installation finished.
Do you wish the installer to initialize Anaconda3
in your /home/python/.bashrc ? [yes|no]
[no] >>> yes
Initializing Anaconda3 in /home/python/.bashrc
A backup will be made to: /home/python/.bashrc-anaconda3.bak
For this change to become active, you have to open a new terminal.
Thank you for installing Anaconda3!
驗證:
[python@master2 ~]$ anaconda -V anaconda Command line client (version 1.7.2) [python@master2 ~]$ conda -V conda 4.5.12
完成
