If there’s something wrong with the bash profile then then conda isn’t being added to your path so you can’t run the
conda commands which would be kind of amusing if it wasn’t so annoying. Sorry about that.
I think it’s probably worthwhile removing all the lines conda has added to your
.bash_profile with whatever text editor you like since something there seems to be causing problems. This would be all the text between these two lines (and those lines too)-
# >>> conda initialize >>>
# <<< conda initialize <<<
The following is an attempt to try and sort this out but only run things that you’re comfortable with-
From your message above it looks like the basic bash script for conda environment variable loading is located at the following path
Edit: Between these two tasks you should probably close and reopen your terminal program.
Once you’ve cleared the
.bash_profile then try running
source /Users/jeremy/opt/anaconda3/etc/profile.d/conda.sh which should add conda environment variables to your current shell environment.
This should allow you to run
conda commands in your current shell. Then run
conda init bash to get
conda to add it’s initialisation scripts to your bash_profile. You can either close and re-open your terminal and you should then be able to use conda automatically in the future (it will be sourced automatically for every new shell you open).