/ TensorFlow

Having TensorFlow 2 issues on Win10?

In particular, if you are fighting with

tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_100.dll'; dlerror: cudart64_100.dll not found

then I may have a solution if all of your other attempts have failed.

You've installed cuDNN somehwere, right? (Per the instructions...) Maybe you put it in C:\Tools\CUDA. Well, if you remember, the download was actually a ZIP file, and you probably just blindly unzipped it and placed the contents in the directory.

But some time ago, Windows added a security feature that files downloaded from the internet are assumed to be unsafe for execution. Moreover, this magic extends to unzipped contents -- i.e. if you download a zip file and unzip it, the contents are also marked as unsafe.

If you mark the zip file as safe before unzipping, then the contents are also assumed to be safe. How do you do this? With the Unblock checkbox on the file's properties.


So, give this a shot -- either Unblock every cuDNN file that you've already extracted to the CUDA directory, or unblock the ZIP file, extract the files again, and replace the currectly-blocked ones.

Having TensorFlow 2 issues on Win10?
Share this
This is the official blog of Todd A. Mancini. All rights reserved. I'm a software guy who dabbles in IoT, music and fitness. I've done the startup thing and also worked for da man at places like Lotus, AltaVista, Microsoft and Red Hat.
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.