Tensorflow installation error: not a supported wheel on this platform

后端 未结 13 1147
别跟我提以往
别跟我提以往 2020-11-29 01:53

when I try to install tensorflow by cloning from git, I run into the error \"no module named copyreg,\" so I tried installing using a virtualenv. However, I then run into th

13条回答
  •  余生分开走
    2020-11-29 02:31

    I too got the same problem
    I downloaded get-pip.py from https://bootstrap.pypa.io/get-pip.py

    and then ran python2.7 get-pip.py for installing pip2.7

    and then ran the pip install command with python2.7 as follows

    For Ubuntu/Linux:

    python2.7 -m pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
    

    For Mac OS X:

    python2.7 -m pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
    

    this should work just fine as it did for me :)

    I followed these instructions from here

提交回复
热议问题