I installed miniconda via choco install miniconda3.
Creating a python3 environment works fine.
conda create --name envA python=3 --verbose
But creating a python2 environment has a problem.
conda create --name envB python=2 --verbose
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working...
Found conflicts! Looking for incompatible packages.
failed
Traceback (most recent call last):
...
File "C:\Users\fred\miniconda3\lib\site-packages\conda\resolve.py", line 352, in find_conflicts
raise UnsatisfiableError(bad_deps, strict=strict_channel_priority)
conda.exceptions.UnsatisfiableError
@cel gets credit for this
Switching to mamba provided better diagnostics.
Then use mamba to find
vc.The
vc v9can be found in thedefaultschannel.Updating the
.condarcwith thedefaultschannel, corrected the problem.As a final note, should someone else find themselves in this situation...
The
~/.condarcgot changed (dropping thedefaultschannel) as part of installingmambaforge.