summaryrefslogtreecommitdiff
path: root/setup/checks/check_for_conda.sh
diff options
context:
space:
mode:
authorGabriel Kosmacher <73120774+kennykos@users.noreply.github.com>2023-02-15 16:12:31 -0600
committerGitHub <noreply@github.com>2023-02-15 16:12:31 -0600
commit28c1eff12954a8c24d88fa4df036bd7221c919f3 (patch)
tree9f0e68432200809698b0ec230d2125c309204f57 /setup/checks/check_for_conda.sh
parenteb4132862f19c157289f126e5a071863ebeedc2c (diff)
parentb6b578249e447614f7a9e07c7b2343e625d21101 (diff)
Merge pull request #1 from kennykos/main
Adding scripts to read & clean University of Illinois Investment Data, get yahoo! info for invested companies
Diffstat (limited to 'setup/checks/check_for_conda.sh')
-rw-r--r--setup/checks/check_for_conda.sh11
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