Ok i know this might be already answered question but i have tried almost every trick suggested on stackoverflow to install tensorflow-gpu and suggested on official docs but with no luck i am getting the same error. Firstly i have tried this then afterwards offical docs then stackoverflow tricks but still getting error I have installed
- Anaconda 3.5 which was with python 3.7 but then i downgraded it to 3.6.6
- Then created virtual env named tensorflow with python 3.6.6
- Then in tensorflow env pip install tensorflow-gpu
- It was installed successfully then i installed CUDA 9.0
- Then cuDNN 7.3 for CUDA 9.0(I have also tried CUDA 8.0 with cuDNN 6.1)
- Copied all DLL cuDNN bin/lib to CUDA 9.0 bin/lib
Specified CUDA system environment variable path upto bin
SAME QUESTION IS ASKED HERE BUT HAS NO ANSWER I HAVE THE SAME TRACE.
Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 11:27:44) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
import tensorflow Traceback (most recent call last): File "D:\conda\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "D:\conda\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 29, in _pywrap_tensorflow_internal = swig_import_helper() File "D:\conda\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 25, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "D:\conda\envs\tensorflow\lib\imp.py", line 243, in load_module return load_dynamic(name, filename, file) File "D:\conda\envs\tensorflow\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 File "D:\conda\envs\tensorflow\lib\site-packages\tensorflow__init__.py", line 22, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "D:\conda\envs\tensorflow\lib\site-packages\tensorflow\python__init__.py", line 49, in from tensorflow.python import pywrap_tensorflow File "D:\conda\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in raise ImportError(msg) ImportError: Traceback (most recent call last): File "D:\conda\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "D:\conda\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 29, in _pywrap_tensorflow_internal = swig_import_helper() File "D:\conda\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 25, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "D:\conda\envs\tensorflow\lib\imp.py", line 243, in load_module return load_dynamic(name, filename, file) File "D:\conda\envs\tensorflow\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.
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.
Please help me to get out of this. Thanks in Advance.