Tensorflow installation error: not a supported wheel on this platform

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

    Seems that tensorflow only work on python 3.5 at the moment, try to run this command before running the pip install

    conda create --name tensorflow python=3.5
    

    After this running the following lines :

    For cpu :

    pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.1.0-cp35-cp35m-win_amd64.whl
    

    For gpu :

    pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.1.0-cp35-cp35m-win_amd64.whl
    

    Should work like a charm,

    Cheers

提交回复
热议问题