0

I can not install tensorflow-gpu. I install cuda 9.0 , cudnn 7.1 , tensorflow 1.10.0, windows 10 x64. I run import tensorflow as tf but I got an error as following

Traceback (most recent call last): File "C:\rastgoo\pyve36_gpu_v110\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\rastgoo\pyve36_gpu_v110\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\rastgoo\pyve36_gpu_v110\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper return importlib.import_module(mname) File "C:\Program Files\Python36\lib\importlib__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "test01.py", line 1, in import tensorflow as tf File "C:\rastgoo\pyve36_gpu_v110\lib\site-packages\tensorflow__init__.py", line 22, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "C:\rastgoo\pyve36_gpu_v110\lib\site-packages\tensorflow\python__init__.py", line 49, in from tensorflow.python import pywrap_tensorflow File "C:\rastgoo\pyve36_gpu_v110\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\rastgoo\pyve36_gpu_v110\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\rastgoo\pyve36_gpu_v110\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\rastgoo\pyve36_gpu_v110\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper return importlib.import_module(mname) File "C:\Program Files\Python36\lib\importlib__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help. Press any key to continue . . .

closed as off-topic by Izzy Jan 9 at 20:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome aboard :-) You are not asking us to recommend software, so this question is off-topic here. Delete it, and ask again on superuser.com DO NOT leave the same question on two of our sites or it will be deleted & you will get no answer. – Mawg Jan 10 at 13:06

Browse other questions tagged or ask your own question.