LoginSignup
508
567

More than 3 years have passed since last update.

Anaconda でよく使うコマンド一覧

Last updated at Posted at 2018-10-18

Windows 用です.
今現在は Ubuntu を使っていてほとんど pip で済ませています.

一般

目的 コマンド 補足
Conda のアップデート conda update conda

仮想環境

目的 コマンド 補足
仮想環境構築 conda create -n [name] python=[version] [library]
仮想環境一覧 conda info -e conda env list でも可能
仮想環境有効化 activate [name]
仮想環境無効化 deactivate [name]
仮想環境削除 conda remove -n [name] --all
仮想環境名称変更 conda create -n [new name] --clone [old name]
conda remove -n [old name] --all クローンして元の環境を削除
パッケージ追加 conda install [package] スペース区切りで複数可能

パッケージ管理

目的 コマンド 補足
インストール conda install [name]
インストール (バージョン指定) conda install [name]==x.x.x
アンインストール conda uninstall [library]
インストール済み一覧 conda list
インストール済み一覧 (環境指定) conda list -n [name]
全部のアップデート conda update --all
特定のアップデート conda update [library]
パッケージ一覧の更新 conda install -y conda-build
508
567
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
508
567