Skip to content

Instantly share code, notes, and snippets.

@raphaeldussin
Last active February 28, 2024 22:39
Show Gist options
  • Save raphaeldussin/5421cd29bd4c719d596cacb438acc061 to your computer and use it in GitHub Desktop.
Save raphaeldussin/5421cd29bd4c719d596cacb438acc061 to your computer and use it in GitHub Desktop.
name: meatpotatoes
channels:
- conda-forge
dependencies:
- python
- pip
- black
- cartopy
- cftime
- cmocean
- dask
- dask-jobqueue
- dask_labextension
- jupyterlab
- gsw
- h5netcdf
- intake
- intake-xarray
- esmf
- esmpy
- matplotlib
- mpich
- netcdf4
- numpy
- numba
- pytest
- regionmask
- scipy
- xarray
- xesmf
- xgcm
- xhistogram
- pip:
- nc-time-axis>=1.3.1
@raphaeldussin
Copy link
Author

# create an environment just to install mamba
conda create --name mamba_env
conda activate mamba_env
conda install -c conda-forge mamba
# create the new environment for all our packages
conda create -n meatpotatoes
# get the full path to the environment
conda info -e
# update the environment using mamba and the prefix (not env name!)
mamba env update --prefix /xtmp/Raphael.Dussin/work/miniconda3/envs/meatpotatoes --file meatpotatoes.yml 
conda activate meatpotatoes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment