tensorflow gpu无法ins

2024-04-28 05:33:38 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用的是python3.7,我搜索的每个解决方案似乎都在Conda环境中,也就是说,我不使用。 我的电脑规格是英特i7和nvidiagtx1050,当我在命令行中使用命令“pip3 install--upgrade tensorflow gpu”时,它总是触发这个错误。在

    C:\WINDOWS\system32>pip3 install --upgrade tensorflow-gpu
Collecting tensorflow-gpu
  Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu

有人能帮忙吗?我安装了CUDAToolkit9.2,并安装了最新的cuDNN。我在运行Windows10。在


Tags: install命令行命令gpu环境tensorflow错误pip3
3条回答

当我在https://pypi.org/project/tensorflow/#files中搜索“TensorFlow”时 我发现以下信息:

tensorflow-1.8.0-cp36-cp36m-win_amd64.whl Wheel cp36 Apr 28, 2018

到2018年7月9日,只有python(<;=3.6)才能找到满足tensorflow要求的版本。在

我想如果你想使用TensorFlow,也许你应该降低Python版本。在

我找到了一个满足tensorflow要求的版本。 我把方法写在这页的另一个答案里。在

2018年7月30日 我找到了Python3.7的tensorflow-1.9(tensorflow‑1.9.0‑cp37‑cp37m‑win峎u amd64.whl)

https://www.lfd.uci.edu/~gohlke/pythonlibs/

https://www.lfd.uci.edu/~gohlke/pythonlibs/#tensorflow

您可以在网站上找到:

TensorFlow, computation using data flow graphs for scalable machine learning. Requires numpy+mkl and protobuf. The CUDA builds require CUDA 9.2 and CUDNN 9.2. tensorflow‑1.9.0‑cp36‑cp36m‑win_amd64.whl tensorflow‑1.9.0‑cp37‑cp37m‑win_amd64.whl


其他版本的TensorFlow.whl在

https://github.com/fo40225/tensorflow-windows-wheel

Tensorflow仅在Python3.5.X版本上受支持。请尝试在这些版本中的任何一个上安装。这应该可以解决问题。在

相关问题 更多 >