Open vinodk333 opened 5 years ago
What tensorflow and python version do you have?
Python 3.7.1 (anaconda 2018.12) tensorflow-gpu-1.13.0rc2
tensorflow is not compatible with python 3.7. I recommend you switch to python 3.6.
Downgraded to Python 3.6.8. Still same error.
Pls igore. Issue is resolved when I uninstalled tensorflow-gpu and replaced with the CPU version. My system have GPU though.
I personally do not have that much experience with the gpu version. Did you follow the steps here? https://www.tensorflow.org/install/gpu
Did you add it to your path?
And if that doesn't help then you might want to uninstall and reinstall everything to make sure you don't have any conflicting packages.
Yes, tried all those, still no luck. It was working fine earlier, need to troubleshoot further.
Ok, good luck to you.
getting the same error idk what to do help me thank you!
you should uninstall your current tensorflow version "pip uninstall tensorflow" then install tensorflow version 1.4.0 "pip install tensorflow==1.4.0"
you don't have CUDA see here
C:\chatbot-rnn-master>python chatbot.py Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\ProgramData\Anaconda3\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 "C:\ProgramData\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\ProgramData\Anaconda3\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 "chatbot.py", line 4, in
import tensorflow as tf
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow__init__.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\ProgramData\Anaconda3\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 "C:\ProgramData\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\ProgramData\Anaconda3\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/errors