安装tensorflow指定版本

1,868 阅读1分钟

问题描述

使用pip安装TensorFlow指定版本时(pip install tensorflow==1.11.0),出现问题

  • ERROR: Could not find a version that satisfies the requirement tensorflow==1.11.0
  • ERROR: No matching distribution found for tensorflow==1.11.0

解决方法

我使用的python3.8版本,可以切换python的版本为3.6,就不会出现上面的问题

备注

如果电脑里存在多个版本的python,可以到python的根目录下,在当前目录下打开cmd,输入 python.exe -m install tensorflow==1.11.0就会在当前版本下安装指定的tensorflow版本