安装tensorflow-XXX报错

报错: tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.

解决:

 

  • wget https://bootstrap.pypa.io/get-pip.py
  • sudo python2.7 get-pip.py                                                                                                
  • sudo python2.7 -m pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
  • $ python2.7  进入执行即可

ref:  http://stackoverflow.com/questions/33622613/tensorflow-installation-error-not-a-supported-wheel-on-this-platform

http://www.tensorfly.cn/tfdoc/get_started/os_setup.html

猜你喜欢

转载自my.oschina.net/u/2902720/blog/1860760