简体   繁体   English

点安装 <package> ==版本在Mac中安装tensorflow-gpu失败,这在pip搜索中显示

[英]pip install <package>==version failed in installing tensorflow-gpu in mac which is shown in pip search

I know there are lots of similar questions but I can not get answer from them. 我知道有很多类似的问题,但我无法从中得到答案。

It's very weird when I am trying to install tensorflow-gpu==1.7.0 just these days. 这些天我尝试安装tensorflow-gpu == 1.7.0时非常奇怪。 I can get tensorflow-gpu (1.7.0) from pip search tensorflow-gpu , but can't install it by pip install tensorflow-gpu==1.7.0 due to versions don't contain 1.7.0. 我可以从pip search tensorflow-gpu获得tensorflow-gpu(1.7.0),但是由于版本不包含1.7.0,因此无法通过pip install tensorflow-gpu==1.7.0

pip version is 9.0.3 点的版本是9.0.3

python version is 3.6.4 python版本是3.6.4

Any idea? 任何想法?


UPDATED: 更新:

Tensorflow no more support for mac after 1.1.0 Tensorflow 1.1.0之后不再支持Mac

在此处输入图片说明

Please see documentation for Mac that says 请参阅Mac的说明文件

Note: As of version 1.2, TensorFlow no longer provides GPU support on macOS. 注意:从1.2版开始,TensorFlow不再在macOS上提供GPU支持。

That means you are not supposed to install the GPU version if you intend to use version 1.2 and higher. 这意味着如果您打算使用1.2版或更高版本, 则不应该安装 GPU版本。 Simply because its not officially supported. 仅仅是因为它没有得到官方的支持。

In your case you are supposed to stick with version < 1.2. 在您的情况下,您应该坚持使用版本<1.2。

This is the question with many accepted answers on Stackoverflow per official site 这是每个官方站点在Stackoverflow上有许多公认答案的问题

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

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