Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Synchronization for conda environments
- Seems like the easiest way to syncronize conda environments is
- to define bash functions that save and load a specified environment
- in a predefined folder.
- The folder is syncronized with Dropbox or similar service.
- Function definition:
- in the .bashrc or .bash_aliases
- ```
- conda-save() {
- conda-env export --name "$1" > *path_to_the_folder*/"$1".yml
- }
- conda-load() {
- conda-env update --name "$1" --file *path_to_the_folder*/"$1".yml
- }
- ```
Add Comment
Please, Sign In to add comment