My conda installation is broken. I would really appreciate if someone has an idea how to get my conda up and running again.
Problem: I cannot install new packages or create environments.
I always get the error below.
$ conda create -n da python Collecting package metadata (repodata.json): done Solving environment: | WARNING conda.resolve:_get_sat_solver_cls(57): Could not run SAT solver through interface 'pycosat'. failed CondaDependencyError: Cannot run solver. No functioning SAT implementations available.
When I run conda info I get this info:
conda version : 4.11.0 conda-build version : not installed python version : 3.7.12.final.0 virtual packages : __linux=220.127.116.11=0 __glibc=2.31=0 __unix=0=0 __archspec=1=x86_64 base environment : /home/eero_ds/miniforge-pypy3 (writable) conda av data dir : /home/eero_ds/miniforge-pypy3/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/intel/linux-64 https://conda.anaconda.org/intel/noarch https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/eero_ds/miniforge-pypy3/pkgs /home/eero_ds/.conda/pkgs envs directories : /home/eero_ds/miniforge-pypy3/envs /home/eero_ds/.conda/envs platform : linux-64 user-agent : conda/4.11.0 requests/2.25.1 PyPy/3.7.12 Linux/18.104.22.168-microsoft-standard-WSL2 ubuntu/20.04.4 glibc/2.31 UID:GID : 1000:1000 netrc file : None offline mode : False
The obvious fix would be to reinstall, which I have done without errors. I downloaded a new version of anaconda from anaconda.org and run
bash Anaconda3-2022.05-Linux-x86_64.sh -u
I have checked out Stackoverflow and Google without finding anything that seems relevant enough to try.