linux 服務(wù)器安裝 anaconda的方法?相信很多沒有經(jīng)驗的人對此束手無策,為此本文總結(jié)了問題出現(xiàn)的原因和解決方法,通過這篇文章希望你能解決這個問題。
1. 下載anaconda
下載安裝腳本,選擇要安裝的Python版本和系統(tǒng)架構(gòu):
python 3 使用下面命令,根據(jù)系統(tǒng)選擇相應(yīng)代碼
$ wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh # 64位系統(tǒng)
$ wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86.sh # 32位系統(tǒng)
python 2 使用下面命令
$ wget https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh # 64位系統(tǒng)
$ wget https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86.sh # 32位系統(tǒng)
2. 安裝anaconda
bash Anaconda3-4.2.0-Linux-x86_64.sh # 安裝上面下載的文件
一路yes下去即可
3. 使用方法
激活安裝,用這個命令
source ~/.bashrc # 設(shè)置環(huán)境變量
之后就可以使用conda命令了,例如查看安裝的python包:
conda list
看完上述內(nèi)容,你們掌握linux 服務(wù)器安裝 anaconda的方法的方法了嗎?如果還想學(xué)到更多技能或想了解更多相關(guān)內(nèi)容,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道,感謝各位的閱讀!