#Create a conda environment.
#Install a Python package in the terminal using conda.
$ conda create -n myenv
$ conda create -n myenv Python=3.7
$ conda env create -f environment.yml
#List Available Conda Environments
$ conda env list
#Activate an Environment for Use
$ conda activate myenv
#Update Conda Environments Using a YAML File
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
#Adding a Package to your YAML File
name: genome-analytics-python
channels:
- conda-forge
- defaults
dependencies:
- python=3.7
- matplotlib
# Core scientific python
- numpy
#List Installed Dependencies Within an Environment
(myenv) $ conda list