安装anaconda

来源:互联网 发布:如何修改tomcat端口 编辑:程序博客网 时间:2024/06/05 21:16

wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-4.4.0-Linux-x86_64.sh
sh Anaconda3-4.4.0-Linux-x86_64.sh
conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config –set show_channel_urls yes
vim ~/.condarc
delete “- defaults” line
conda create –name python27 python=2.7
conda create –name python34 python=3.4
source activate python27
conda install paramiko lxml beautifulsoup4 requests -n python27

原创粉丝点击