Tensorflow on windows - ImportError: DLL load failed: The specified module could not be found

Installing Microsoft Visual C++ Redistributable für Visual Studio 2019 resolved the described problem for me

Tested on Windows 10 for Python 3.6 (Anaconda) and Tensorflow 2.1.0


I faced the same error. The problem is not with the python or tensorflow versions but the dependencies required for it from the windows operating system. Just follow the following steps and you are good to go.

  • Go to this link https://www.sts-tutorial.com/download/credistributable2019
  • Download the vc_redist.x64.exe (64-Bit) or vc_redist.x86.exe (32-Bit), according to your system.
  • Execute the file and restart your PC.
  • Now import the tensorflow, it should work.

I used to get this kind of error.

The reason that I had installed the wrong and mismatched versions of Tensorflow backend and Keras

The versions I fixed that has worked perfectly for me can be seen as below

  • Tensorflow 2.0.0 (2.1.0 throws the error)
  • Keras version 2.3.1

Best,