error: Failed to load the native TensorFlow runtime

前端 未结 14 1671
终归单人心
终归单人心 2020-12-08 10:36

i\'m new to tensorflow, today i installed tensorflow using:

C:\\>pip3 install --upgrade tensorflow
Collecting tensorflow
  Using cached tensorflow-1.2.0-c         


        
相关标签:
14条回答
  • 2020-12-08 10:59

    First uninstall this

    pip uninstall tensorflow
    

    Now for re installation Download this tensorflow wheel file

    Install this using(in same Directory)

    pip install tensorflow-1.6.0-cp36-cp36m-win_amd64.whl
    
    0 讨论(0)
  • 2020-12-08 11:01

    I had a similar error on OSX Siera when i installed tensorflow through pip on python 3.6. It was fixed by using the binary URL that identifies the TensorFlow Python package

    sudo pip3 install --upgrade tfBinaryURL   # Python 3.n
    

    in my case tfBinaryURL is as below:

    sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.3.0-py3-none-any.whl
    
    0 讨论(0)
  • 2020-12-08 11:05

    Similar problem occurred with me. I am using Windows 8.1 (64 bit) operating system and Python 3.6.2 (64 bit).

    I have solved the problem by installing Visual C++ Redistributable for Visual Studio 2015 (vc_redist.x64.exe) from vc_redist.x64.exe.

    0 讨论(0)
  • 2020-12-08 11:07

    You could try to downgrade TensorFlow or use TensorFlow lattest version

    pip install tensorflow
    
    0 讨论(0)
  • 2020-12-08 11:10

    simply download MSVCP140.dll, unzip it and then paste it in system32 folder..

    0 讨论(0)
  • 2020-12-08 11:10

    I had the same problem today and I followed all of these advice here as well as many more from other sources in the internet and from my own head. None of them worked.

    I had installed tf 1.2.0 and it had no problem importing it

    pip3 install --upgrade tensorflow==1.2.0

    Further on, I found out that all the versions import well, up to 1.6.0., so I'll go about with 1.5.0. Currently, the latest is 1.7.0.

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