问题描述
尝试使用 conda 安装 dask-ml 时出现以下错误。任何想法如何解决这个问题?
(env3) C:\>conda install -c conda-forge dask-ml
Collecting package Metadata (current_repodata.json): done
Solving environment: Failed with initial frozen solve. retrying with flexible solve.
Solving environment: Failed with repodata from current_repodata.json,will retry with next repodata source.
Collecting package Metadata (repodata.json): done
Solving environment: Failed with initial frozen solve. retrying with flexible solve.
Solving environment: -
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
(env3) C:\>
解决方法
问题是无意中安装了 pip 将 python 从 3.8.5 升级到了 3.9.1 版本,恢复后解决了问题。