猿问

无法在 Ubuntu 20.04 上安装 1.x 版本的 Tensorflow

我的 CPU 没有 AVX 指令,所以我不得不安装低于 1.16 的 Tensorflow 版本。我在用着


pip3 install tensorflow==1.15


我收到了这个错误:


ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4)

ERROR: No matching distribution found for tensorflow==1.15

我正在运行 Ubuntu 20.04,并且我已经更新了所有软件包。我什至将 python 降级到 3.6.9,但我仍然无法安装旧版本的 Tensorflow


绝地无双
浏览 270回答 3
3回答

阿波罗的战车

当pip不是最新的时,这通常会发生。如果您使用的是虚拟环境,请使用pip install --upgrade pippip install tensorflow==1.15如果您使用的是系统解释器,请使用它(sudo可能需要):pip3 install --upgrade pippip3 install tensorflow==1.15

梦里花落0921

尝试使用“python 3.7”创建虚拟环境python3.7 -m venv my_env源 my_env/bin/activate然后运行安装命令“pip install tensorflow==1.14”

摇曳的蔷薇

您好,您可以尝试使用以下链接下载张量流 2:- illya13.github.io/RL/tutorial/2020/04/26/installing-tensorflow-on-ubuntu-20.html
随时随地看视频慕课网APP

相关分类

Python
我要回答