diff options
Diffstat (limited to 'setup/checks')
| -rw-r--r-- | setup/checks/check_for_conda.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/setup/checks/check_for_conda.sh b/setup/checks/check_for_conda.sh new file mode 100644 index 0000000..b17bc1a --- /dev/null +++ b/setup/checks/check_for_conda.sh @@ -0,0 +1,11 @@ +#taken from mobilitynet-analysis-scripts/setup/checks/check_for_conda.sh + +CURR_CONDA_VER=`conda --version | cut -d " " -f 2` +EXP_CONDA_VER=23.1.0 + +if [ $CURR_CONDA_VER == $EXP_CONDA_VER ]; then + echo "For conda, found $CURR_CONDA_VER, expected $EXP_CONDA_VER, all is good!" +else + echo "For conda, found $CURR_CONDA_VER, expected $EXP_CONDA_VER, run 'bash setup/setup_conda.sh $EXP_CONDA_VER <platform>' to get the correct version" + echo "Or install manually after downloading from https://repo.anaconda.com/miniconda/" +fi |
