0
votes

I am installing CUDA GPU Tool (version 9.2) for Python 3.6 on Windows 10. I get the following error:

Traceback (most recent call last):

File "D:\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import *

File "D:\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper()

File "D:\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)

File "D:\Python\Python36\lib\imp.py", line 242, in load_module return load_dynamic(name, filename, file)

File "D:\Python\Python36\lib\imp.py", line 342, in load_dynamic return _load(spec) ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in import tensorflow

File "D:\Python\Python36\lib\site-packages\tensorflow__init__.py", line 22, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import

File "D:\Python\Python36\lib\site-packages\tensorflow\python__init__.py", line 49, in from tensorflow.python import pywrap_tensorflow

File "D:\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in raise ImportError(msg) ImportError: Traceback (most recent call last):

File "D:\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import *

File "D:\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper()

File "D:\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)

File "D:\Python\Python36\lib\imp.py", line 242, in load_module return load_dynamic(name, filename, file)

File "D:\Python\Python36\lib\imp.py", line 342, in load_dynamic return _load(spec) ImportError: DLL load failed: The specified module could not be found.

Failed to load the native TensorFlow runtime.

1

1 Answers

0
votes

Last time I tried CUDA 9.1 few months back I ran into similar issues. I suggest you to install CUDA 9.0 (Reason- Tensorflow pip release may be based on older version of CUDA). You also need to install cuDNN of matching version. You can find the detailed steps guide here.