无法满足的错误:Conda安装Keras失败

时间:2020-08-14 12:35:37

标签: python keras anaconda

我刚安装了Anaconda3,并且在我输入conda install keras时出现此错误:

(base) C:\Users\Tejas>conda install keras
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 the existing python installation in your environment:

Specifications:

  - keras -> python[version='>=3.5,<3.6.0a0|>=3.6,<3.7.0a0']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

The following specifications were found to be incompatible with your system:

  - feature:/win-64::__cuda==11.0=0
  - feature:|@/win-64::__cuda==11.0=0

Your installed version is: 11.0

我有一个外部图形卡RTX 2080 Super。如果您能指导我完成此安装过程,我将不胜感激。非常感谢!

1 个答案:

答案 0 :(得分:1)

只需运行:

conda update --all

运行此命令后,Keras应该成功安装。