找不到 tensorflow-gpu==1.12.0

could not find tensorflow-gpu==1.12.0

我安装了Python3.5.2 64位版本

来自 python 控制台

import struct
print(struct.calcsize("P") * 8)
>>> 64
import sys
print("%x" % sys.maxsize, sys.maxsize > 2**32)'
>>> ('7fffffffffffffff', True)

来自终端(激活虚拟环境)

(venv) which python
>>> /Users/censored/PycharmProjects/untitled5/venv/bin/python
(venv) python --version
>>> Python 3.5.2

OS: 10.15.3 MacOS Catalina

编辑:PycharmProfessional 2019.3

点:最新(20.0.2)

错误:

(venv) pip install tensorflow-gpu==1.12.0
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.12.0 (from versions: 0.12.0rc1, 0.12.0, 0.12.1, 1.0.0, 1.0.1, 1.1.0rc1, 1.1.0rc2, 1.1.0)
ERROR: No matching distribution found for tensorflow-gpu==1.12.0

使用Ubuntu的同事安装tensorflow-gpu==1.12.0没问题

有什么问题?

我该如何解决?

文档https://www.tensorflow.org/install/gpu说:

Note: GPU support is available for Ubuntu and Windows with CUDA®-enabled cards.