gpt4 book ai didi

python - 在 windows 上安装 tensorflow

转载 作者:太空狗 更新时间:2023-10-30 01:12:25 25 4
gpt4 key购买 nike

我正在尝试在 Windows 上安装 tensorflow。我有 python3 (3.5.2) 和 pip3 (9.0.1):

pip3 install --upgrade tensorflow

Collecting tensorflow

Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

在这里也发现了这个问题:tensorflow not found in pip但没有一个解决方案对我有用。有什么想法吗?

最佳答案

在 Python 命令提示符处尝试以下操作:

import platform
platform.architecture()[0]

它应该显示'64bit'仅仅拥有 x86 版本的 Python 是不够的。我有同样的问题。以为我安装的是 64 位,但结果是 32 位。

顺便说一句。它也适用于 Conda Python 3.6 发行版。并且确实按照 Guillaume Jacquenot 的指示使用 Gohlke 页面中的发行版。

关于python - 在 windows 上安装 tensorflow,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43069519/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com