- Anaconda
How to install Anaconda
- Apt Install
$ sudo apt-get install libglib2.0-dev
- Go to the project root directory
- Type the following commands to activate environment.
$ conda env create --prefix ./env --file environment.yml
- Type the next commands.
$ conda activate path/to/conda/env
- Check if library exists in Anaconda Cloud. Just Google Search
conda install [name/of/python/package]
- If present add the package name in
dependency
list of environment.yml
. If not, add the package name in pip
list of `environment.yml
- Run the following command to update the environment. PS. You do not need to be outside the environment (
conda deactivate
) to update.
$ conda env update --prefix ./env --file environment.yml --prune