0

I have both python2 and python3 installed on my system(macos sierra).

I tried installing latest version of tensrorflow using pip. It's working for python 3 but not for python2.

I am getting following error "tensorflow-0.12.1-py2-none-any.whl is not a supported wheel on this platform."

Ish
  • 3,099
  • 1
  • 11
  • 4
  • 1
    I just tried it on my Mac using an anaconda environment with py2.7 and it installed fine. This [link] (http://stackoverflow.com/a/36046420/5587428) says an out-of-date pip might be a problem. Perhaps try updating pip – RobR Jan 24 '17 at 21:07

1 Answers1

0

If you have pip version 8.1 or higher, pip install tensorflow command should work. Otherwise, you may install using this command: pip install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.1-py2-none-any.whl If neither of these do not work, you may need to update your pip version as suggested by @RobR

gunan
  • 917
  • 5
  • 11