ubuntu同时安装anaconda2和anaconda3
1. 首先,安装anaconda3
2.安装anaconda2
bash Anaconda2-4.4.0-Linux-x86_64.sh -b -p $HOME/anaconda3/envs/py2
rm -f $HOME/anaconda3/envs/py2/bin/conda* rm -f $HOME/anaconda3/envs/py2/conda-meta/conda-* rm -f $HOME/anaconda3/envs/py2/bin/activate
rm -f $HOME/anaconda3/envs/py2/bin/deactivate
cd $HOME/anaconda3/envs/py2/bin
ln -s ../../../bin/conda .
ln -s ../../../bin/activate .
ln -s ../../../bin/deactivate .
查看python环境:
conda info --envs