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
'comp@Abanormal:~$ ' prompt and an attempted to activate an app:
comp@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
# packages in environment at /home/comp/Miniconda3:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
anaconda-anon-usage 0.4.4 py312hfc0e8ea_100
archspec 0.2.3 pyhd3eb1b0_0
boltons 23.0.0 py312h06a4308_0
brotli-python 1.0.9 py312h6a678d5_8
bzip2 1.0.8 h5eee18b_6
c-ares 1.19.1 h5eee18b_0
ca-certificates 2024.3.11 h06a4308_0
certifi 2024.6.2 py312h06a4308_0
cffi 1.16.0 py312h5eee18b_1
charset-normalizer 2.0.4 pyhd3eb1b0_0
conda 24.5.0 py312h06a4308_0
conda-content-trust 0.2.0 py312h06a4308_1
conda-libmamba-solver 24.1.0 pyhd3eb1b0_0
conda-package-handling 2.3.0 py312h06a4308_0
conda-package-streaming 0.10.0 py312h06a4308_0
cryptography 42.0.5 py312hdda0065_1
distro 1.9.0 py312h06a4308_0
expat 2.6.2 h6a678d5_0
fmt 9.1.0 hdb19cb5_1
frozendict 2.4.2 py312h06a4308_0
icu 73.1 h6a678d5_0
idna 3.7 py312h06a4308_0
jsonpatch 1.33 py312h06a4308_1
jsonpointer 2.1 pyhd3eb1b0_0
krb5 1.20.1 h143b758_1
ld_impl_linux-64 2.38 h1181459_1
libarchive 3.6.2 h6ac8c49_3
libcurl 8.7.1 h251f7ec_0
libedit 3.1.20230828 h5eee18b_0
libev 4.33 h7f8727e_1
libffi 3.4.4 h6a678d5_1
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
libmamba 1.5.8 hfe524e5_2
libmambapy 1.5.8 py312h2dafd23_2
libnghttp2 1.57.0 h2d74bed_0
libsolv 0.7.24 he621ea3_1
libssh2 1.11.0 h251f7ec_0
libstdcxx-ng 11.2.0 h1234567_1
libuuid 1.41.5 h5eee18b_0
libxml2 2.10.4 hfdd30dd_2
lz4-c 1.9.4 h6a678d5_1
menuinst 2.1.1 py312h06a4308_0
ncurses 6.4 h6a678d5_0
openssl 3.0.14 h5eee18b_0
packaging 23.2 py312h06a4308_0
pcre2 10.42 hebb0a14_1
pip 24.0 py312h06a4308_0
platformdirs 3.10.0 py312h06a4308_0
pluggy 1.0.0 py312h06a4308_1
pybind11-abi 5 hd3eb1b0_0
pycosat 0.6.6 py312h5eee18b_1
pycparser 2.21 pyhd3eb1b0_0
pysocks 1.7.1 py312h06a4308_0
python 3.12.4 h5148396_1
readline 8.2 h5eee18b_0
reproc 14.2.4 h6a678d5_2
reproc-cpp 14.2.4 h6a678d5_2
requests 2.32.2 py312h06a4308_0
ruamel.yaml 0.17.21 py312h5eee18b_0
setuptools 69.5.1 py312h06a4308_0
sqlite 3.45.3 h5eee18b_0
tk 8.6.14 h39e8969_0
tqdm 4.66.4 py312he106c6f_0
truststore 0.8.0 py312h06a4308_0
tzdata 2024a h04d1e81_0
urllib3 2.2.2 py312h06a4308_0
wheel 0.43.0 py312h06a4308_0
xz 5.4.6 h5eee18b_1
yaml-cpp 0.8.0 h6a678d5_1
zlib 1.2.13 h5eee18b_1
zstandard 0.22.0 py312h2c38b39_0
zstd 1.5.5 hc292b87_2