tensorflow gpu - ImportError: DLL load failed: The specified module could not be found.No module named '_pywrap_tensorflow_internal' -


i trying set tensorflow-gpu1.3 on windows10 64 bit. have followed instructions provided in https://www.tensorflow.org/install/install_windows. have cuda path setup cudnn64_5.dll, python version 3.5.

i getting error when import tensorflow.

traceback (most recent call last):    file "c:\program files\python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper      return importlib.import_module(mname)    file "c:\program files\python35\lib\importlib\__init__.py", line 126, in import_module      return _bootstrap._gcd_import(name[level:], package, level)    file "<frozen importlib._bootstrap>", line 986, in _gcd_import    file "<frozen importlib._bootstrap>", line 969, in _find_and_load    file "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked    file "<frozen importlib._bootstrap>", line 666, in _load_unlocked    file "<frozen importlib._bootstrap>", line 577, in module_from_spec    file "<frozen importlib._bootstrap_external>", line 914, in create_module    file "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed  importerror: dll load failed: specified module not found.    during handling of above exception, exception occurred:    traceback (most recent call last):    file "c:\program files\python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <module>      tensorflow.python.pywrap_tensorflow_internal import *    file "c:\program files\python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>      _pywrap_tensorflow_internal = swig_import_helper()    file "c:\program files\python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper      return importlib.import_module('_pywrap_tensorflow_internal')    file "c:\program files\python35\lib\importlib\__init__.py", line 126, in import_module      return _bootstrap._gcd_import(name[level:], package, level)  importerror: no module named '_pywrap_tensorflow_internal'    during handling of above exception, exception occurred:    traceback (most recent call last):    file "c:/users/supriya.godge/pycharmprojects/tensorflow/tutorial1.py", line 2, in <module>      import tensorflow tf    file "c:\program files\python35\lib\site-packages\tensorflow\__init__.py", line 24, in <module>      tensorflow.python import *    file "c:\program files\python35\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>      tensorflow.python import pywrap_tensorflow    file "c:\program files\python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 52, in <module>      raise importerror(msg)  importerror: traceback (most recent call last):    file "c:\program files\python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper      return importlib.import_module(mname)    file "c:\program files\python35\lib\importlib\__init__.py", line 126, in import_module      return _bootstrap._gcd_import(name[level:], package, level)    file "<frozen importlib._bootstrap>", line 986, in _gcd_import    file "<frozen importlib._bootstrap>", line 969, in _find_and_load    file "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked    file "<frozen importlib._bootstrap>", line 666, in _load_unlocked    file "<frozen importlib._bootstrap>", line 577, in module_from_spec    file "<frozen importlib._bootstrap_external>", line 914, in create_module    file "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed  importerror: dll load failed: specified module not found.    during handling of above exception, exception occurred:    traceback (most recent call last):    file "c:\program files\python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <module>      tensorflow.python.pywrap_tensorflow_internal import *    file "c:\program files\python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>      _pywrap_tensorflow_internal = swig_import_helper()    file "c:\program files\python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper      return importlib.import_module('_pywrap_tensorflow_internal')    file "c:\program files\python35\lib\importlib\__init__.py", line 126, in import_module      return _bootstrap._gcd_import(name[level:], package, level)  importerror: no module named '_pywrap_tensorflow_internal'      failed load native tensorflow runtime.       

i followed instruction provided in https://stackoverflow.com/a/43959499/8485184

i spent 4 hours trying fix same problem, turns out tensorflow install documentation needs updated. if using tensorflow 1.3 (you can tell) want use cudnn64_6.dll

https://github.com/tensorflow/tensorflow/issues/7705


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -