Created
August 6, 2025 14:08
-
-
Save prerakmody/ea5c03f50d1c84e42bd9f15b5144617e to your computer and use it in GitHub Desktop.
Multiple Conda environments
This file contains hidden or 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
# >>> conda initialize >>> | |
CONDA_BASE_PATH="${CONDA_BASE_PATH:-/<path>/anaconda3}" | |
__conda_setup="$('${CONDA_BASE_PATH}/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | |
if [ $? -eq 0 ]; then | |
eval "$__conda_setup" | |
else | |
if [ -f "${CONDA_BASE_PATH}/etc/profile.d/conda.sh" ]; then | |
. "${CONDA_BASE_PATH}/etc/profile.d/conda.sh" | |
else | |
export PATH="${CONDA_BASE_PATH}/bin:$PATH" | |
fi | |
fi | |
unset __conda_setup | |
# <<< conda initialize <<< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment