Could not load dynamic library 'cudart64_101.dll' on tensorflow CPU-only installation

前端 未结 13 1592
隐瞒了意图╮
隐瞒了意图╮ 2020-11-28 04:02

I just installed the latest version of Tensorflow via pip install tensorflow and whenever I run a program, I get the log message:

W tenso

13条回答
  •  自闭症患者
    2020-11-28 04:57

    In a conda environment, this is what solved my problem (I was missing cudart64-100.dll:

    1. Downloaded it from dll-files.com/CUDART64_100.DLL

    2. Put it in my conda environment at C:\Users\\Anaconda3\envs\\Library\bin

    That's all it took! You can double check if it's working:

    import tensorflow as tf
    tf.config.experimental.list_physical_devices('GPU')
    

提交回复
热议问题