天天看點

Could not find ‘cudart64_90.dll.TensorFlow requires that this DLL be installed in a directory

問題背景:

沒有裝nvidia完整版的cuda和cudnn,是用的是anaconda裝的cudatoolkit 和 cudnn,然後運作導入

tensorflow1.8版本的時候提示:

Could not find ‘cudart64_90.dll.TensorFlow requires that this DLL be installed in a directory

 也就是找不到cudart64_90.dll這個檔案的路徑

解決辦法:

将下圖的2個檔案拷貝到system32檔案夾中

Could not find ‘cudart64_90.dll.TensorFlow requires that this DLL be installed in a directory
Could not find ‘cudart64_90.dll.TensorFlow requires that this DLL be installed in a directory

需要檔案留言區留一下郵箱即可,看到都會發送~

繼續閱讀