gpt4 book ai didi

python - tensorflow 安装: No matching distribution

转载 作者:太空宇宙 更新时间:2023-11-03 15:13:13 25 4
gpt4 key购买 nike

已切换到 Python 3.5,因为 Tensorflow 仅支持 3.5。

我正在尝试通过以下命令使用 Tensorflow 安装指南:

  pip3 install --upgrade tensorflow

结果如下:

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

运行 32 位 python

更新:

已更改为64位Python,现已安装tensorflow。我仍然想知道 32 位是否可行,因为我在官方 Tensorflow 指南中找不到任何有关 32 位不工作的信息。

最佳答案

编辑 - 我错过了它是 32 位的,我的答案是 64 位。

我在 Windows 上遇到了类似的问题,我安装了 python 3.5 但遇到了相同的错误。
这是我为解决此问题所做的步骤:
首先检查您的 python 版本,在命令行中输入 python -V (在 Windows 中为 win 键+R->cmd),检查您是否遇到与我完全相同的问题。
如果它不是 3.5,即使您安装了 3.5,那么这可能是我遇到的问题,所以您需要更改 Windows 中的环境变量,这是通过转到:

Control Panel->System and Security -> System -> Advanced system settings -> Advanced -> Environment Variables..

然后编辑Path值并将其更改为python 3.5目录

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

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