Tag Archives: Conda Install Error

Solving the problem of “solving environment: failed” of CONDA

1. Problem code

Recently, when CONDA installed the software package, the following problems appeared all the time. I found many solutions on the Internet, but they didn’t solve my problem. See link
supplement: the version of CONDA I use is anaconda3-2019.07-windows-x86_ 64。

Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
Initial quick solve with frozen env failed.  Unfreezing env and trying again.
Solving environment: failed

2. Find out the reason

Later, when looking at the error message, I found that it was to use two commands of CONDA forge that caused this error. The culprit is the second sentence.

conda config --add channels conda-forge
conda config --set channel_priority strict

3. Solutions

conda config --set channel_priority flexible

Conda Install Error: Solving environment: failed with initial frozen solve.

I’ve stepped on a lot of holes and checked a lot on the Internet. Kuaitemo is autistic. I can’t solve it even if I’m confused. I’ve been working hard all afternoon and finally solved it. The solution is as follows:

Well… I forgot to cut the wrong picture at that time…… First of all, unload and reload the anaconda you installed, which is what I did anyway, obsessive-compulsive disorder patients, so clean
. Then, check your current version of CONDA, whether you check it or not, anyway, you have to update it. I like to check: conda-v here is the moment to witness the miracle:


Update CONDA to the latest version: CONDA update – N base CONDA check CONDA version again: CONDA – V is not the latest version CONDA 4.7.11 second update CONDA to the latest version: CONDA update – N base CONDA second time is very important!!! What’s more, when it reads the environment this time, the thief is slow. I thought my computer was stuck for half a year, just wait for it. After the update, check the CONDA version: CONDA – V, and find that it is the latest version, CONDA 4.7.11, and then execute: CONDA update — all. Then, what’s good to install, what’s good to fix, what’s good to use, everything’s good to use, and it’s over!!!!!!