メモのみ。Ubuntu 14.04とMac OS Xで行っています。
本家からダウンロードしてインストールするだけです。
インストール
wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh bash Anaconda3-4.2.0-Linux-x86_64.sh
仮想環境の名前一覧を見る
conda info -e
出力は
test * /home/kroxldyphivc/anaconda/envs/test root /home/kroxldyphivc/anaconda
となります。
環境を作る
conda create --name test python=3 pandas numpy
pandas numpy ...
の箇所にライブラリを指定するとそれが最初からインストールされた環境が作成されます。
これでtest
という名前の仮想環境が作成されました。
仮想環境に入る
source activate test
仮装環境から出る
source deactivate
仮想環境の削除
conda remove -n test --all