Created
May 22, 2020 09:02
-
-
Save skurscheid/ed475461a9646320066c7cd293839bbe to your computer and use it in GitHub Desktop.
How to activate conda environments within a bash script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
eval "$(conda shell.bash hook)" | |
conda activate <env-name> | |
# https://github.com/conda/conda/issues/7980#issuecomment-492784093 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment