All,
Swayed by the promises of faster execution times, I recently attempted to install mamba instead of conda for package management. Due to probable user idiocy, I now have neither a functional conda or mamba distribution.
I'm trying to root both out of the system and do a clean install. I found and removed mamba fairly easily from my Finder window (running 'which mamba' returns 'mamba not found'), but miniconda/anaconda has proven more stubborn.
Output for 'which conda' yields the following:
conda () {
\local cmd="${1-__missing__}"
case "$cmd" in
(activate | deactivate) __conda_activate "$@" ;;
(install | update | upgrade | remove | uninstall) __conda_exe "$@" || \return
__conda_reactivate ;;
(*) __conda_exe "$@" ;;
esac
}
(base)
I'm not sure how to interpret this - I assume that some internal python3 file is missing or not found. Possibly pycostat, given the SAT solver errors in installing and creating environments?
conda install -c conda-forge biopython # code to generate error
/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/site-packages/conda_package_streaming/package_streaming.py:19: UserWarning: zstandard could not be imported. Running without .conda support.
warnings.warn("zstandard could not be imported. Running without .conda support.")
/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/site-packages/conda_package_handling/api.py:29: UserWarning: Install zstandard Python bindings for .conda support
_warnings.warn("Install zstandard Python bindings for .conda support")
Collecting package metadata (repodata.json): done
Solving environment: / WARNING conda.resolve:_get_sat_solver_cls(62): Could not run SAT solver through interface 'pycosat'.
failed with initial frozen solve. Retrying with flexible solve.
CondaDependencyError: Cannot run solver. No functioning SAT implementations available.
I know there are a thousand versions of the "I can't get 'x' program to work, help" question out there, but I am genuinely puzzled on how to resolve this. Any help or clarity you can provide would be appreciated, and I can provide any other information that might be helpful.
I have been there... I just reinstalled conda.
mamba deactivate
mamba activate (your envirnment name here)
Then do:
cat ~/.condarc
conda config --remove channels defaults
conda config --remove channels conda-forge
conda config --remove channels bioconda
cat ~/.condarc