Linux(Ubuntu18.04)上安裝Anaconda步驟詳解-創(chuàng)新互聯(lián)

Anaconda是最受歡迎的python數(shù)據(jù)科學(xué)和機(jī)器學(xué)習(xí)平臺(tái),用于大規(guī)模數(shù)據(jù)處理,預(yù)測(cè)分析和科學(xué)計(jì)算。Anaconda發(fā)行版附帶了1,000多個(gè)數(shù)據(jù)包,conda命令行工具和Anaconda Navigator的桌面圖形用戶界面。

站在用戶的角度思考問題,與客戶深入溝通,找到香河網(wǎng)站設(shè)計(jì)與香河網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗(yàn),讓設(shè)計(jì)與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個(gè)性化、用戶體驗(yàn)好的作品,建站類型包括:成都網(wǎng)站設(shè)計(jì)、成都網(wǎng)站制作、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣、國際域名空間、虛擬主機(jī)、企業(yè)郵箱。業(yè)務(wù)覆蓋香河地區(qū)。

本教程將指導(dǎo)您完成在Ubuntu 18.04上下載和安裝Anaconda Python Distribution。

下載Anaconda

在撰寫本文時(shí),Anaconda的最新穩(wěn)定版本是5.3版本。

請(qǐng)選擇 64-Bit (x86) Installer 進(jìn)行下載鏈接: https://pan.baidu.com/s/1rNA9D8gaGHuIE0Ao_l5AQA 提取碼: uecd  。盡量不要用python2.7,很多庫已經(jīng)不提供python2.7支持。

點(diǎn)擊鏈接就會(huì)進(jìn)行下載,同時(shí)會(huì)彈出信息收集框,直接關(guān)閉就好。

安裝Anaconda

$ sudo sh Anaconda3-5.3.0-Linux-x86_64.sh 
[sudo] andrew 的密碼: 
Welcome to Anaconda3 5.3.0
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> # 按下回車
... # 多次按空格讀完license。
Do you accept the license terms? [yes|no]
[no] >>> yes # 輸入yes
 - Press ENTER to confirm the location
 - Press CTRL-C to abort the installation
 - Or specify a different location below
...
[/home/andrew/anaconda3] >>> /usr/local/anaconda3 # 輸入自定義目錄
... # 安裝根據(jù)機(jī)器性能,通常需要持續(xù)幾分鐘。
# 討論 釘釘群21745728 qq群144081101 567351477
# 本文地址:https://www.jianshu.com/p/9fe9ff999234
Do you wish to proceed with the installation of Microsoft VSCode? [yes|no] #選擇no,一般來說自帶的spyder和專業(yè)IDE wingIDE更好用。
...
Do you wish the installer to initialize Anaconda3
in your /home/andrew/.bashrc ? [yes|no]
[no] >>> # 選擇yes
Initializing Anaconda3 in /home/andrew/.bashrc
A backup will be made to: /home/andrew/.bashrc-anaconda3.bak
For this change to become active, you have to open a new terminal.
Thank you for installing Anaconda3!
===========================================================================
Anaconda is partnered with Microsoft! Microsoft VSCode is a streamlined
code editor with support for development operations like debugging, task
running and version control.
To install Visual Studio Code, you will need:
 - Administrator Privileges
 - Internet connectivity
Visual Studio Code License: https://code.visualstudio.com/license
Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]
>>> no

添加“export PATH=/usr/local/anconda3/bin:$PATH“ 到/etc/profile,這樣所有用戶都可以使用Anaconda python3.7了。

上面的.bashrc在剛才安裝時(shí)添加了如下內(nèi)容:

# added by Anaconda3 5.3.0 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/usr/local/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
 \eval "$__conda_setup"
else
 if [ -f "/usr/local/anaconda3/etc/profile.d/conda.sh" ]; then
 . "/usr/local/anaconda3/etc/profile.d/conda.sh"
 CONDA_CHANGEPS1=false conda activate base
 else
 \export PATH="/usr/local/anaconda3/bin:$PATH"
 fi
fi
unset __conda_setup~/.bashrc
# <<< conda init <<<

當(dāng)前題目:Linux(Ubuntu18.04)上安裝Anaconda步驟詳解-創(chuàng)新互聯(lián)
網(wǎng)站網(wǎng)址:http://muchs.cn/article20/dphdco.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站建設(shè)軟件開發(fā)、面包屑導(dǎo)航、網(wǎng)站設(shè)計(jì)、全網(wǎng)營銷推廣動(dòng)態(tài)網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

成都網(wǎng)頁設(shè)計(jì)公司