libcudart.so.10.0: cannot open shared object file: No such file or directory

tensorflow 2.0.0b1python

cuda:10.1git

報錯,使用tf.test.is_gpu_available()測試時也是false,原來是這個版本只支持10.0,不支持10.1.github

解決辦法:無需刪除cuda10.1,也無需再下載cuda10.0包,直接conda install cudatoolkit=10.0。測試

https://github.com/tensorflow/tensorflow/issues/30638spa

相關文章
相關標籤/搜索