Skip to content Skip to sidebar Skip to footer

Python Tensorflow Import Dll Load Failed

I installed latest python 3.6.4 x64 version and then installed tensorflow for cpu-only with pip3 C:\>pip3 install tensorflow however when I tried to import tensorflow in pyth

Solution 1:

I got same problem with tensorflow1.6-CPU on win7 64bit(Intel Core 2 Duo Cpu T6670 2.2GHz)

After I found this, and it solved my problem.

Reference this issue: https://github.com/tensorflow/tensorflow/issues/17386

Re-installed by this tensorflow-1.6.0-cp36-cp36m-win_amd64.whl: https://github.com/fo40225/tensorflow-windows-wheel/tree/master/1.6.0/py36/CPU/sse2

Hope this .whl may help you.


Solution 2:

I faced the same issue with tensorflow-1.12.0 what i did was :

  1. Install anaconda
  2. open anaconda prompt
  3. conda create -n tfp python=3.6
  4. activate tfp
  5. conda install tensorflow
  6. python
  7. Now check by importing tensorflow

the version i used was 3.6, but you can also try with 3.7 Hope it helps!


Solution 3:


Solution 4:

Probably, your CPU does not have the instructions for AVX (needed for all tensorflow binaries since 1.6). You can check that with some tool like CPU-Z. If that is the case, you can donwload the correct wheel here (use SSE2 binaries):

tensorflow-windows-wheel


Solution 5:

I had the same issue. I upgraded pip version with:

python -m pip install --upgrade pip

also, downgraded with

pip install tensorflow==2.0

and it worked


Post a Comment for "Python Tensorflow Import Dll Load Failed"