はじめに
よく使うAnaconda3コマンドのまとめです.
仮想環境の切り替え
$ conda activate <name> # 有効化
$ conda deactivate # 無効化
仮想環境の一覧を表示
$ conda info -e
$ conda info --envs
仮想環境の作成
$ conda create -n <name>
$ conda create -n <name> python=<version>
$ conda create -n <name> python=<version> <library>=<version>
<name>という名前の仮想環境を作成する.
<version>は省略可.指定されていない場合,最新のバージョンがインストールされる.
仮想環境の削除
$ conda remove -n <name> --all