简体   繁体   English

找不到 tensorflow-gpu==1.12.0

[英]could not find tensorflow-gpu==1.12.0

I've installed Python 3.5.2 64 bit version.我已经安装了 Python 3.5.2 64 位版本。

from python console从 python 控制台

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

from terminal(with virtual environment activated)从终端(激活虚拟环境)

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

OS: 10.15.3 MacOS Catalina操作系统:10.15.3 MacOS Catalina

Editor: Pycharm Professional 2019.3编辑:Pycharm Professional 2019.3

pip: latest(20.0.2)点:最新(20.0.2)

Error:错误:

(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

My co-worker who uses Ubuntu have no problem with installing tensorflow-gpu==1.12.0我使用Ubuntu的同事安装tensorflow-gpu==1.12.0没有问题

What's the problem?有什么问题?

How can I solve it?我该如何解决?

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

Note: GPU support is available for Ubuntu and Windows with CUDA®-enabled cards.注意:GPU 支持可用于带有 CUDA® 卡的 Ubuntu 和 Windows。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM