简体   繁体   English

安装 dask-ml 会引发“解决环境”错误

[英]Installing dask-ml throws “Solving Environment” error

I'm getting the following errors when trying to install dask-ml with conda.尝试使用 conda 安装 dask-ml 时出现以下错误。 Any ideas how to fix this?任何想法如何解决这一问题?

(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:\>

The problem was that inadvertently installing pip upgraded python to version 3.9.1 from 3.8.5, reverting that solved the problem.问题是无意中安装了 pip 将 python 从 3.8.5 升级到 3.9.1 版本,恢复解决了问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM