Conda
  • Conda is an open source package management system and environment management system
  • Package management
  • conda list, list installed packages
  • conda search [packagename], search availabe package from repository
  • conda --version, check conda version
  • conda install
  • conda remove
  • conda repository
  • conda update [packagename], update a package to the current version
  • conda clean, remove all unused packages in a conda virtual environment
  • Environment management
  • conda create
  • conda remove --name [environmentname] --all, remove an environment
  • source activate [environmentname], active a specific environment on Mac and Linux
  • source deactivate, deactivate the current environment on Mac and Linux
  • conda info --envs (conda env list), list all the environments
  • conda env export --file SOME_FILE, export the environment to a file
  • conda env create -n [environmentname] -f=[SOME_FILE], create an environment based on an environment file
  • Install Ipython Notebook
  • Work with Pip
    1. source activate [environmentname], switch to a specific environment
    2. conda install pip, install pip in the environment
    3. pip install [packagename], install packages
    Reference
  • Conda vs pip vs virtualenv
  • Conda
  • Command reference