cuda一定要安装9.0版本的吗?装9.2的不行吗?
来源:8-3 TensorFlow环境搭建

慕姐7282977
2019-04-21
F:\Anaconda\envs\nlp\python.exe F:/tensorflow_workspace/chatbot/data_utills.py
Traceback (most recent call last):
File “F:\Anaconda\envs\nlp\lib\site-packages\tensorflow\python\platform\self_check.py”, line 75, in preload_check
ctypes.WinDLL(build_info.cudart_dll_name)
File “F:\Anaconda\envs\nlp\lib\ctypes_init_.py”, line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “F:/tensorflow_workspace/chatbot/data_utills.py”, line 3, in
from tensorflow.python.client import device_lib
File “F:\Anaconda\envs\nlp\lib\site-packages\tensorflow_init_.py”, line 22, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File “F:\Anaconda\envs\nlp\lib\site-packages\tensorflow\python_init_.py”, line 49, in
from tensorflow.python import pywrap_tensorflow
File “F:\Anaconda\envs\nlp\lib\site-packages\tensorflow\python\pywrap_tensorflow.py”, line 30, in
self_check.preload_check()
File “F:\Anaconda\envs\nlp\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_90.dll’. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 9.0 from this URL: https://developer.nvidia.com/cuda-toolkit
Process finished with exit code 1
1回答
-
Mr_Ricky
2019-04-29
cuda版本和tf版本一一对应的
00
相似问题