1

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. 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 version is 9.0.3

python version is 3.6.4

Any idea?


UPDATED:

Tensorflow no more support for mac after 1.1.0

enter image description here

fumihwh
  • 1,239
  • 7
  • 13
  • 2
    I believe this is because no source distribution is available and no wheel is available either for macOS. Looking at the tensorflow repo, it looks like CPU-only is supported for macOS right now. – John Szakmeister Apr 09 '18 at 08:48
  • 1
    Possible duplicate of [How to pip install old version of library(tensorflow)?](https://stackoverflow.com/questions/41937915/how-to-pip-install-old-version-of-librarytensorflow) – Abhishake Gupta Apr 09 '18 at 08:50
  • @Abhishakegupta It's not a duplicate. I am trying to install latest version. – fumihwh Apr 09 '18 at 22:55
  • @jszakmeister You are right. Seems that is the reason. – fumihwh Apr 09 '18 at 22:55
  • 1
    It works only on 64 bit install of python. And your system architecture graphics card should support GPU version, usually Nvidia gpus are supported . If you can't then stick to CPU version..and why version==1.70.0 ? Let it pick by default based on requirements and latest pip version. – Morse Apr 09 '18 at 23:08
  • @Prateek b/c I used pip install without version and 1.1.0 installed. And I know latest version is 1.7.0 so I tried. – fumihwh Apr 10 '18 at 01:58

1 Answers1

2

Please see documentation for Mac that says

Note: As of version 1.2, TensorFlow no longer provides GPU support on macOS.

That means you are not supposed to install the GPU version if you intend to use version 1.2 and higher. Simply because its not officially supported.

In your case you are supposed to stick with version < 1.2.

This is the question with many accepted answers on Stackoverflow per official site

Morse
  • 8,258
  • 7
  • 39
  • 64