Stephen P. Molnar
2024-07-13 19:40:01 UTC
I am running Bookworm with the bash shell and use a conda environment
for some of my Molecular Modeling software. For some reason I can no
longer activate my conda apps.
I downloaded a new copy of Miniconda3-latest-Linux-x89_64.sh. The
sha256sum agreed
I deleted the Miniconda3 and .conda directories and installed the new
download in /home/comp/Miniconda3 without any warnings or errors and
accepted automatically initializing of the bash shell.
.Bashrc was amended with:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/comp/Miniconda3/bin/conda' 'shell.bash' 'hook'
2> /dev/null)"
if [ $? -eq 0 ]; then
   eval "$__conda_setup"
else
   if [ -f "/home/comp/Miniconda3/etc/profile.d/conda.sh" ]; then
       . "/home/comp/Miniconda3/etc/profile.d/conda.sh"
   else
       export PATH="/home/comp/Miniconda3/bin:$PATH"
   fi
fi
unset __conda_setup
# <<< conda initialize <<<
The 'conda list' command did return a list (see attached)
However when I opened a new terminal it still had the
'***@Abanormal:~$ ' prompt and an attempted to activate an app:
***@Abanormal:~$ conda activate
I got:
CondaError: Run 'conda init' before 'conda activate'
conda init bash and conda activate in a new terminal seemed to enter a loop.
I am really lost at this point. I've installed Miniconda a number of
times without any problems.
I would be appreciate of some pointers towards solving this problem.
Thanks in advance
for some of my Molecular Modeling software. For some reason I can no
longer activate my conda apps.
I downloaded a new copy of Miniconda3-latest-Linux-x89_64.sh. The
sha256sum agreed
I deleted the Miniconda3 and .conda directories and installed the new
download in /home/comp/Miniconda3 without any warnings or errors and
accepted automatically initializing of the bash shell.
.Bashrc was amended with:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/comp/Miniconda3/bin/conda' 'shell.bash' 'hook'
2> /dev/null)"
if [ $? -eq 0 ]; then
   eval "$__conda_setup"
else
   if [ -f "/home/comp/Miniconda3/etc/profile.d/conda.sh" ]; then
       . "/home/comp/Miniconda3/etc/profile.d/conda.sh"
   else
       export PATH="/home/comp/Miniconda3/bin:$PATH"
   fi
fi
unset __conda_setup
# <<< conda initialize <<<
The 'conda list' command did return a list (see attached)
However when I opened a new terminal it still had the
'***@Abanormal:~$ ' prompt and an attempted to activate an app:
***@Abanormal:~$ conda activate
I got:
CondaError: Run 'conda init' before 'conda activate'
conda init bash and conda activate in a new terminal seemed to enter a loop.
I am really lost at this point. I've installed Miniconda a number of
times without any problems.
I would be appreciate of some pointers towards solving this problem.
Thanks in advance
--
Stephen P. Molnar, Ph.D.
https://insilicochemistry.net
(614)312-7528 (c)
Skype: smolnar1
Stephen P. Molnar, Ph.D.
https://insilicochemistry.net
(614)312-7528 (c)
Skype: smolnar1