use*_*629 16 python linux wget anaconda
我正在寻找在我的服务器上通过wget安装anaconda.我遇到过https://askubuntu.com/questions/505919/installing-anaconda-python-on-ubuntu和http://ericjonas.com/anaconda.html这看起来很有希望.在撰写本文时,当前版本(https://www.continuum.io/downloads#_unix)为4.0.我怎样才能获得最新版本.
Bru*_*cci 26
wget只是下载文件...
对于python 2.7:
wget https://repo.continuum.io/archive/Anaconda2-2018.12-Linux-x86_64.sh
Run Code Online (Sandbox Code Playgroud)
for python3.X:
wget https://repo.continuum.io/archive/Anaconda3-2018.12-Linux-x86_64.sh
Run Code Online (Sandbox Code Playgroud)
这是一个shell脚本,可以指导您完成安装.
在下载文件的文件夹中运行以下行以启动指导安装...
对于python 2.7:
bash Anaconda2-2018.12-Linux-x86_64.sh
Run Code Online (Sandbox Code Playgroud)
对于Python 3.X:
bash Anaconda3-2018.12-Linux-x86_64.sh
Run Code Online (Sandbox Code Playgroud)
检查最新的回购或如果您想要任何特定版本:https: //repo.continuum.io/archive/
phi*_*per 10
这将从网站上抓取 html 下载最新的 anaconda 版本:
wget -O - https://www.anaconda.com/distribution/ 2>/dev/null | sed -ne 's@.*\(https:\/\/repo\.anaconda\.com\/archive\/Anaconda3-.*-Linux-x86_64\.sh\)\">64-Bit (x86) Installer.*@\1@p' | xargs wget
Run Code Online (Sandbox Code Playgroud)
这将为您提供适用于 64 位 Linux 环境的最新 miniconda 3:
...
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh
source ~/.bashrc
# now update conda and install pip
conda update conda
conda install pip
# (optional) create and activate an environment
conda create -n py3 python pandas scikit-learn jupyter
source activate py3
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
32951 次 |
最近记录: |