I am trying to get the anaconda version installed and save it in a variable called CONDA_VERSION
, I try to do this in bash script using the following:
echo "INFO: getting conda version"
CONDA_VERSION=$(print(conda -V))
but I get this error:
command substitution: line 9: syntax error near unexpected token `conda'