最近,我升级到使用python 3.8的Anaconda3 2020.07。 anaconda 以前的版本,tensorflow 安装成功。 Tensorflow在此版本安装失败。
我运行了下面的命令;
conda install tensorflow-gpu
我收到的错误消息如下所示;
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- tensorflow-gpu -> python[version='3.5.*|3.6.*|3.7.*|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|>=2.7,<2.8.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 CUDA driver:
- feature:/win-64::__cuda==11.0=0
Your installed CUDA driver is: 11.0
是否有带有正确参数的 conda 命令来成功安装 tensorflow?
原文由 guagay_wk 发布,翻译遵循 CC BY-SA 4.0 许可协议
在 anaconda 上安装 tensorflow 的最新进展。
https://anaconda.org/anaconda/tensorflow https://anaconda.org/anaconda/tensorflow-gpu
9 天前,Anaconda 上传了一个新的 tensorflow v2.3 包。 Anaconda3 2020.07(使用python v3.8)用户可以通过以下命令轻松升级到tensorflow v2.3;
我亲自测试过安装成功。
这个问题的其他答案现在已经过时了。