Skip to content

Instantly share code, notes, and snippets.

@atuanpham
Last active August 27, 2018 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atuanpham/b51805bb42663124d54d35a941bbb4a1 to your computer and use it in GitHub Desktop.
Save atuanpham/b51805bb42663124d54d35a941bbb4a1 to your computer and use it in GitHub Desktop.
Conda tutorial

Change to project directory

cd demo-env

Create a new environment

conda env create

Some essential commands

Change Environment

source activate demo-env

Deactivate current environment

source deactivate

Update env after modifying environment.yml

conda env update
name: demo-env
channels:
- conda-forge
dependencies:
- python=3.6
- ipython
- numpy=1.15.0
- pandas
- pip
- pip:
- opencv-python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment