summaryrefslogtreecommitdiff
path: root/setup/checks
diff options
context:
space:
mode:
authorkennykos <“gkosmacher01@gmail.com”>2023-02-15 16:06:05 -0600
committerkennykos <“gkosmacher01@gmail.com”>2023-02-15 16:06:05 -0600
commitb6b578249e447614f7a9e07c7b2343e625d21101 (patch)
tree9f0e68432200809698b0ec230d2125c309204f57 /setup/checks
parent49cbd4bbe57cb81c63c564343b8f85186ea58b21 (diff)
setup directory for conda setup
Added setup directory for conda setup
Diffstat (limited to 'setup/checks')
-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