如何安装无法通过pip获得的tensorflow版本

2024-10-04 11:31:37 发布

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

我试图安装tensorflow的特定版本,作为我试图使用的某些代码(https://github.com/serengil/deepface)的需求的一部分

当我尝试像通常在命令提示符下那样安装它时,我会得到以下结果

C:\Windows\system32>pip install tensorflow==1.9.0
ERROR: Could not find a version that satisfies the requirement tensorflow==1.9.0 (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 1.15.0rc0, 1.15.0rc1, 1.15.0rc2, 1.15.0rc3, 1.15.0, 1.15.2, 1.15.3, 1.15.4, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0rc0, 2.1.0rc1, 2.1.0rc2, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc0, 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1)
ERROR: No matching distribution found for tensorflow==1.9.0

我引用了其他几个Stackoverflow问题(Installing Tensorflow 1.9 in Windows),但没有找到解决方案或如何获得所需的版本


Tags: installpip代码https版本githubcomwindows