【发布时间】:2020-07-27 08:05:25
【问题描述】:
最近,我升级到使用 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?
【问题讨论】:
-
嗯,这很奇怪。执行
conda install "tensorflow-gpu=2.2"时是否会出现同样的错误 -
让我先试试
conda install "tensorflow-gpu=2.2"。谢谢。 -
@cel,我收到了
PackagesNotFoundError:
标签: python-3.x tensorflow installation anaconda conda