1 问题描述
因为程序执行失败,报错如下,且提示需要安装CUDA10.0,于是我下载了CUDA10.0+cuDNN10.0。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\matlab\CNN-classification\LSTM\train_test.py", line 40, in <module>
import tensorflow as tf
File "D:\Program\Anaconda3\envs\cat\lib\site-packages\tensorflow\__init__.py", line 28, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "D:\Program\Anaconda3\envs\cat\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "D:\Program\Anaconda3\envs\cat\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 30, in <module>
self_check.preload_check()
File "D:\Program\Anaconda3\envs\cat\lib\site-packages\tensorflow\python\platform\self_check.py", line 82, in
preload_check
% (build_info.cudart_dll_name, build_info.cuda_version_number))
ImportError: Could not find 'cudart64_100.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 10.0 from this URL: https://developer.nvidia.com/cuda-90-download-archive
但是安装到74%时候报错。
CUDA 安装失败 ,提示不能创建chrome_elf.dll。
2 解决方案
退出360安全卫士。
然后安装CUDA就可以正常进行下去了。