Tensorflow installation error: not a supported wheel on this platform

后端 未结 13 951
别跟我提以往
别跟我提以往 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:38

    I was trying to install from source, and got that error. (Why would a wheel built on this machine not be compatible with it-?)

    For me, the tag --ignore-installed made all the difference.

    pip install --ignore-installed /tmp/tensorflow_pkg/tensorflow-1.8.0-cp36-cp36m-linux_x86_64.whl
    

    worked, while

    pip install /tmp/tensorflow_pkg/tensorflow-1.8.0-cp36-cp36m-linux_x86_64.whl 
    

    threw the abovementioned error.

    Context: Conda environment; might have been a problem specific to this

    0 讨论(0)
提交回复
热议问题