Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/vba/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 不满意错误:Conda安装Keras失败_Python_Keras_Anaconda - Fatal编程技术网

Python 不满意错误:Conda安装Keras失败

Python 不满意错误:Conda安装Keras失败,python,keras,anaconda,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

我刚刚安装了一个新的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
(基本)C:\Users\Tejas>conda安装keras
收集包元数据(current_repodata.json):完成
解决环境:初始冻结解决失败。用灵活的解决方法重试。
解决环境:使用当前_repodata.json中的repodata失败,将使用下一个repodata源重试。
收集包元数据(repodata.json):完成
解决环境:初始冻结解决失败。用灵活的解决方法重试。
解决环境:\
发现冲突!正在查找不兼容的包。
这可能需要几分钟。按CTRL-C以中止。
失败
不满意错误:发现以下规格
要与环境中现有的python安装不兼容,请执行以下操作:
规格:
-keras->python[version='>=3.5,=3.6,只需运行:

conda update --all

运行此操作后,Keras应该会成功安装。

@TheBossProSniper让我知道结果。更新时,我从一些带有回溯的python文件导入器中得到一些导入错误。导入错误是因为您正在实现的库未安装在anaconda env(基本)中。使用conda install将它们安装到conda env中。@TheBossProSniper请检查: