My Anaconda installation has been taking a long time to resolve dependencies when installing new packages and environments. I regularly do conda update conda
in the base environment but that didn't solve the problem so I also tried to update Anaconda today by calling conda update anaconda
and now it has been stuck on 'Solving environment' for over half an hour.
(base) Mac-mini:~ username$ conda list anaconda$
# packages in environment at /anaconda3:
#
# Name Version Build Channel
anaconda 2019.03 py37_0
(base) Mac-mini:~ username$ conda update anaconda
Collecting package metadata (repodata.json): done
Solving environment: \
What could be wrong and what shall I do? Hard to know since there is no actual error message, just the endless timer ticking away...
Other info
If it helps, here are two examples of the kind of problems I have had installing new packages. I see things like this:
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package numpy conflicts for:
opty -> numpy[version='>=1.8.1']
opty -> cyipopt[version='>=0.1.7'] -> numpy[version='1.10.*|1.11.*|1.12.*|>=1.14.6,<2.0a0|>=1.16.5,<2.0a0|>=1.18.5,<2.0a0|>=1.19.2,<2.0a0|>=1.18.4,<2.0a0|>=1.18.1,<2.0a0|>=1.9.3,<2.0a0|>=1.9|>=1.11.3,<2.0a0|>=1.11|1.13.*|>=1.16.6,<2.0a0|>=1.15.1,<2.0a0']
and
Updating pandas is constricted by
anaconda -> requires pandas==0.24.2=py37h0a44026_0
(This is what lead me to think anaconda itself is somehow creating dependency constraints).