ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "d:\pyt\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
import tensorflow as tf
File "d:\pyt\lib\site-packages\tensorflow__init__.py", line 98, in
from tensorflow_core import *
File "d:\pyt\lib\site-packages\tensorflow_core__init__.py", line 40, in
from tensorflow.python.tools import module_util as _module_util
File "d:\pyt\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "d:\pyt\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "d:\pyt\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "d:\pyt\lib\site-packages\tensorflow_core\python__init__.py", line 52, in
from tensorflow.core.framework.graph_pb2 import *
File "d:\pyt\lib\site-packages\tensorflow_core\core\framework\graph_pb2.py", line 7, in
from google.protobuf import descriptor as _descriptor
File "d:\pyt\lib\site-packages\google\protobuf\descriptor.py", line 47, in
from google.protobuf.pyext import _message
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 "d:\pyt\lib\site-packages\IPython\core\interactiveshell.py", line 2040, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pyt\lib\site-packages\IPython\core\ultratb.py", line 1101, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "d:\pyt\lib\site-packages\IPython\core\ultratb.py", line 319, in wrapped
return f(args, *kwargs)
File "d:\pyt\lib\site-packages\IPython\core\ultratb.py", line 353, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "d:\pyt\lib\inspect.py", line 1454, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "d:\pyt\lib\inspect.py", line 1411, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "d:\pyt\lib\inspect.py", line 666, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "d:\pyt\lib\inspect.py", line 703, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "d:\pyt\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "d:\pyt\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "d:\pyt\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "d:\pyt\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "d:\pyt\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "d:\pyt\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 10, in
from tensorflow.python.eager import context as _context
File "d:\pyt\lib\site-packages\tensorflow_core\python\eager\context.py", line 29, in
from tensorflow.core.protobuf import config_pb2
File "d:\pyt\lib\site-packages\tensorflow_core\core\protobuf\config_pb2.py", line 7, in
from google.protobuf import descriptor as _descriptor
File "d:\pyt\lib\site-packages\google\protobuf\descriptor.py", line 47, in
from google.protobuf.pyext import _message
ImportError: DLL load failed: The specified module could not be found.
Help me, please!
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
What is the top-level directory of the model you are using
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
I have the same problem. Stop telling people to fill out the forms and suggest a solution already.
I was facing this error while using Keras. So I just upgrade Keras library and restart the kernel on Jupiter notebook, and it worked for me.
Using TensorFlow backend.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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 "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
from keras.models import Sequeantial
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras__init__.py", line 3, in
from . import utils
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\utils__init__.py", line 6, in
from . import conv_utils
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend__init__.py", line 1, in
from .load_backend import epsilon
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend\load_backend.py", line 90, in
from .tensorflow_backend import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in
import tensorflow as tf
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 101, in
from tensorflow_core import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core__init__.py", line 40, in
from tensorflow.python.tools import module_util as _module_util
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\DESMOND\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2040, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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 "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1101, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 319, in wrapped
return f(args, *kwargs)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 353, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "C:\Users\DESMOND\Anaconda3\lib\inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "C:\Users\DESMOND\Anaconda3\lib\inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "C:\Users\DESMOND\Anaconda3\lib\inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "C:\Users\DESMOND\Anaconda3\lib\inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\DESMOND\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\DESMOND\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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 "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
from keras.models import Sequeantial
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras__init__.py", line 3, in
from . import utils
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\utils__init__.py", line 6, in
from . import conv_utils
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend__init__.py", line 1, in
from .load_backend import epsilon
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend\load_backend.py", line 90, in
from .tensorflow_backend import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in
import tensorflow as tf
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 101, in
from tensorflow_core import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core__init__.py", line 40, in
from tensorflow.python.tools import module_util as _module_util
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\DESMOND\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2040, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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 "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
from keras.models import Sequeantial
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras__init__.py", line 3, in
from . import utils
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\utils__init__.py", line 6, in
from . import conv_utils
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend__init__.py", line 1, in
from .load_backend import epsilon
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend\load_backend.py", line 90, in
from .tensorflow_backend import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in
import tensorflow as tf
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 101, in
from tensorflow_core import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core__init__.py", line 40, in
from tensorflow.python.tools import module_util as _module_util
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\DESMOND\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2040, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3249, in run_ast_nodes
if (await self.run_code(code, result, async_=asy)):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3343, in run_code
self.showtraceback(running_compiled_code=True)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2043, in showtraceback
value, tb, tb_offset=tb_offset)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1385, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1288, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1150, in structured_traceback
formatted_exceptions += self.prepare_chained_exception_message(evalue.__cause__)
TypeError: can only concatenate str (not "list") to str
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2040, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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 "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1101, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 319, in wrapped
return f(args, *kwargs)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 353, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "C:\Users\DESMOND\Anaconda3\lib\inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "C:\Users\DESMOND\Anaconda3\lib\inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "C:\Users\DESMOND\Anaconda3\lib\inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "C:\Users\DESMOND\Anaconda3\lib\inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\DESMOND\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\DESMOND\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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 "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
from keras.models import Sequeantial
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras__init__.py", line 3, in
from . import utils
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\utils__init__.py", line 6, in
from . import conv_utils
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend__init__.py", line 1, in
from .load_backend import epsilon
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend\load_backend.py", line 90, in
from .tensorflow_backend import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in
import tensorflow as tf
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 101, in
from tensorflow_core import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core__init__.py", line 40, in
from tensorflow.python.tools import module_util as _module_util
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\DESMOND\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2040, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3249, in run_ast_nodes
if (await self.run_code(code, result, async_=asy)):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3343, in run_code
self.showtraceback(running_compiled_code=True)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2043, in showtraceback
value, tb, tb_offset=tb_offset)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1385, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1288, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1150, in structured_traceback
formatted_exceptions += self.prepare_chained_exception_message(evalue.__cause__)
TypeError: can only concatenate str (not "list") to str
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2040, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\DESMOND\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\DESMOND\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\DESMOND\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
for some common reasons and solutions. Include the entire stack trace
ImportError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py in
57
---> 58 from tensorflow.python.pywrap_tensorflow_internal import *
59 from tensorflow.python.pywrap_tensorflow_internal import __version__
~\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py in
27 return _mod
---> 28 _pywrap_tensorflow_internal = swig_import_helper()
29 del swig_import_helper
~\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py in swig_import_helper()
23 try:
---> 24 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
25 finally:
~\Anaconda3\lib\imp.py in load_module(name, file, filename, details)
241 else:
--> 242 return load_dynamic(name, filename, file)
243 elif type_ == PKG_DIRECTORY:
~\Anaconda3\lib\imp.py in load_dynamic(name, path, file)
341 name=name, loader=loader, origin=path)
--> 342 return _load(spec)
343
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
AttributeError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py in showtraceback(self, exc_tuple, filename, tb_offset, exception_only, running_compiled_code)
2039 # in the engines. This should return a list of strings.
-> 2040 stb = value._render_traceback_()
2041 except Exception:
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py in run_code(self, code_obj, result, async_)
3341 if result is not None:
3342 result.error_in_exec = sys.exc_info()[1]
-> 3343 self.showtraceback(running_compiled_code=True)
3344 else:
3345 outflag = False
~\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py in showtraceback(self, exc_tuple, filename, tb_offset, exception_only, running_compiled_code)
2041 except Exception:
2042 stb = self.InteractiveTB.structured_traceback(etype,
-> 2043 value, tb, tb_offset=tb_offset)
2044
2045 self._showtraceback(etype, value, stb)
~\Anaconda3\lib\site-packages\IPython\core\ultratb.py in structured_traceback(self, etype, value, tb, tb_offset, number_of_lines_of_context)
1383 self.tb = tb
1384 return FormattedTB.structured_traceback(
-> 1385 self, etype, value, tb, tb_offset, number_of_lines_of_context)
1386
1387
~\Anaconda3\lib\site-packages\IPython\core\ultratb.py in structured_traceback(self, etype, value, tb, tb_offset, number_of_lines_of_context)
1286 # Verbose modes need a full traceback
1287 return VerboseTB.structured_traceback(
-> 1288 self, etype, value, tb, tb_offset, number_of_lines_of_context
1289 )
1290 elif mode == 'Minimal':
~\Anaconda3\lib\site-packages\IPython\core\ultratb.py in structured_traceback(self, etype, evalue, etb, tb_offset, number_of_lines_of_context)
1148 exception = self.get_parts_of_chained_exception(evalue)
1149 if exception:
-> 1150 formatted_exceptions += self.prepare_chained_exception_message(evalue.__cause__)
1151 etype, evalue, etb = exception
1152 else:
TypeError: can only concatenate str (not "list") to str
I'm getting the following error when this one line of code is run - does anyone have any solutions that worked for them? I've already tried restarting the kernel...
Image(graph.create_png())
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3296, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
Image(graph.create_png())
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\pydotplus\graphviz.py", line 1797, in
lambda f=frmt, prog=self.prog: self.create(format=f, prog=prog)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\pydotplus\graphviz.py", line 1960, in create
'GraphViz\'s executables not found')
pydotplus.graphviz.InvocationException: GraphViz's executables not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2033, in showtraceback
stb = value._render_traceback_()
AttributeError: 'InvocationException' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\AC46164\AppData\Local\Continuum\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 "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1095, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\ultratb.py", line 313, in wrapped
return f(args, *kwargs)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\ultratb.py", line 347, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3296, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
Image(graph.create_png())
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\pydotplus\graphviz.py", line 1797, in
lambda f=frmt, prog=self.prog: self.create(format=f, prog=prog)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\pydotplus\graphviz.py", line 1960, in create
'GraphViz\'s executables not found')
pydotplus.graphviz.InvocationException: GraphViz's executables not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2033, in showtraceback
stb = value._render_traceback_()
AttributeError: 'InvocationException' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\AC46164\AppData\Local\Continuum\anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\AC46164\AppData\Local\Continuum\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
Using TensorFlow backend.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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 "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3319, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
from keras.models import Sequential
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras__init__.py", line 3, in
from . import utils
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\utils__init__.py", line 6, in
from . import conv_utils
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend__init__.py", line 1, in
from .load_backend import epsilon
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend\load_backend.py", line 89, in
from .tensorflow_backend import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend\tensorflow_backend.py", line 6, in
from tensorflow.python.framework import ops as tf_ops
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\framework\ops.py", line 32, in
from tensorflow.core.framework import attr_value_pb2
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 2034, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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 "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 1151, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 319, in wrapped
return f(args, *kwargs)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 353, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "C:\Program Files\Python37\lib\inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "C:\Program Files\Python37\lib\inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "C:\Program Files\Python37\lib\inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "C:\Program Files\Python37\lib\inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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 "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3319, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
from keras.models import Sequential
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras__init__.py", line 3, in
from . import utils
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\utils__init__.py", line 6, in
from . import conv_utils
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend__init__.py", line 1, in
from .load_backend import epsilon
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend\load_backend.py", line 89, in
from .tensorflow_backend import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend\tensorflow_backend.py", line 6, in
from tensorflow.python.framework import ops as tf_ops
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\framework\ops.py", line 32, in
from tensorflow.core.framework import attr_value_pb2
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 2034, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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 "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3319, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
from keras.models import Sequential
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras__init__.py", line 3, in
from . import utils
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\utils__init__.py", line 6, in
from . import conv_utils
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend__init__.py", line 1, in
from .load_backend import epsilon
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend\load_backend.py", line 89, in
from .tensorflow_backend import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend\tensorflow_backend.py", line 6, in
from tensorflow.python.framework import ops as tf_ops
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\framework\ops.py", line 32, in
from tensorflow.core.framework import attr_value_pb2
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 2034, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3242, in run_ast_nodes
if (await self.run_code(code, result, async_=asy)):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3336, in run_code
self.showtraceback(running_compiled_code=True)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 2037, in showtraceback
value, tb, tb_offset=tb_offset)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 1418, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 1318, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 1186, in structured_traceback
formatted_exceptions += self.prepare_chained_exception_message(evalue.__cause__)
TypeError: can only concatenate str (not "list") to str
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 2034, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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 "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 1151, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 319, in wrapped
return f(args, *kwargs)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 353, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "C:\Program Files\Python37\lib\inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "C:\Program Files\Python37\lib\inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "C:\Program Files\Python37\lib\inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "C:\Program Files\Python37\lib\inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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 "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3319, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
from keras.models import Sequential
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras__init__.py", line 3, in
from . import utils
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\utils__init__.py", line 6, in
from . import conv_utils
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend__init__.py", line 1, in
from .load_backend import epsilon
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend\load_backend.py", line 89, in
from .tensorflow_backend import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\keras\backend\tensorflow_backend.py", line 6, in
from tensorflow.python.framework import ops as tf_ops
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\framework\ops.py", line 32, in
from tensorflow.core.framework import attr_value_pb2
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Program Files\Python37\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 2034, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3242, in run_ast_nodes
if (await self.run_code(code, result, async_=asy)):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3336, in run_code
self.showtraceback(running_compiled_code=True)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 2037, in showtraceback
value, tb, tb_offset=tb_offset)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 1418, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 1318, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py", line 1186, in structured_traceback
formatted_exceptions += self.prepare_chained_exception_message(evalue.__cause__)
TypeError: can only concatenate str (not "list") to str
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py", line 2034, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Program Files\Python37\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Program Files\Python37\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
for some common reasons and solutions. Include the entire stack trace
ImportError Traceback (most recent call last)
c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py in
57
---> 58 from tensorflow.python.pywrap_tensorflow_internal import *
59 from tensorflow.python.pywrap_tensorflow_internal import __version__
c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py in
27 return _mod
---> 28 _pywrap_tensorflow_internal = swig_import_helper()
29 del swig_import_helper
c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py in swig_import_helper()
23 try:
---> 24 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
25 finally:
C:\Program Files\Python37\lib\imp.py in load_module(name, file, filename, details)
241 else:
--> 242 return load_dynamic(name, filename, file)
243 elif type_ == PKG_DIRECTORY:
C:\Program Files\Python37\lib\imp.py in load_dynamic(name, path, file)
341 name=name, loader=loader, origin=path)
--> 342 return _load(spec)
343
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
AttributeError Traceback (most recent call last)
c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py in showtraceback(self, exc_tuple, filename, tb_offset, exception_only, running_compiled_code)
2033 # in the engines. This should return a list of strings.
-> 2034 stb = value._render_traceback_()
2035 except Exception:
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py in run_code(self, code_obj, result, async_)
3334 if result is not None:
3335 result.error_in_exec = sys.exc_info()[1]
-> 3336 self.showtraceback(running_compiled_code=True)
3337 else:
3338 outflag = False
c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\interactiveshell.py in showtraceback(self, exc_tuple, filename, tb_offset, exception_only, running_compiled_code)
2035 except Exception:
2036 stb = self.InteractiveTB.structured_traceback(etype,
-> 2037 value, tb, tb_offset=tb_offset)
2038
2039 self._showtraceback(etype, value, stb)
c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py in structured_traceback(self, etype, value, tb, tb_offset, number_of_lines_of_context)
1416 self.tb = tb
1417 return FormattedTB.structured_traceback(
-> 1418 self, etype, value, tb, tb_offset, number_of_lines_of_context)
1419
1420
c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py in structured_traceback(self, etype, value, tb, tb_offset, number_of_lines_of_context)
1316 # Verbose modes need a full traceback
1317 return VerboseTB.structured_traceback(
-> 1318 self, etype, value, tb, tb_offset, number_of_lines_of_context
1319 )
1320 elif mode == 'Minimal':
c:\users\f174s322\pycharmprojects\nn_trial run\trial_1_jan_19_2020\venv\lib\site-packages\IPython\core\ultratb.py in structured_traceback(self, etype, evalue, etb, tb_offset, number_of_lines_of_context)
1184 exception = self.get_parts_of_chained_exception(evalue)
1185 if exception:
-> 1186 formatted_exceptions += self.prepare_chained_exception_message(evalue.__cause__)
1187 etype, evalue, etb = exception
1188 else:
TypeError: can only concatenate str (not "list") to str
upgrade Keras library and restart the kern
how did u upgrade the Keras? just by uninstalling followed by reinstallation?
I'm currently having the same issue, I have tried all possible ways to reinstall Keras as well as the TensorFlow
Created new virtual environment and used the following command :
pip install tensorflow==2.0.0
pip install -U tensorflow-gpu keras
This should solve the issue!
I experienced the same issue, but I figured out how to resolve it
(1.) I uninstalled tensorflow, using the command below in anaconda command prompt
pip uninstall tensorflow
(2.) I installed tensorflow version 2.0.0, using the syntax below
pip install tensorflow==2.0.0
For those having trouble with keras, you can try these actions
(1.) You can uninstall keras, using the syntax below in anaconda command prompt
pip uninstall keras
(2.) You can re-install keras version 2.3.1, using the syntax below in anaconda command prompt
pip install keras==2.3.1
pip install tensorflow==2.0.0
Thank you so much. It worked for me.
Thanks much it worked
I experienced the same issue, but I figured out how to resolve it
(1.) I uninstalled tensorflow, using the command below in anaconda command prompt
pip uninstall tensorflow
(2.) I installed tensorflow version 2.0.0, using the syntax below
pip install tensorflow==2.0.0
It works for me. Thanks!
I tried all these, uninstall tensorflow, keras and tensorflow-gpu, and reinstall as sadewale1 instructed, and it still throws this error...
Hello ARKEYTECT, can you restart your computer and relaunch anaconda navigator? Also, you can uninstall tensorflow, keras and tesnsorflow from anaconda navigator environment. Then follow the steps above.
Please let me know if this information is helpful.
Hi sadewale1, I restarted my computer and followed your steps, still not working.
Sadewale1, thanks for your help! I reinstalled tensorflow again, and it worked! But it won't detect my gpu anymore... Was using my gpu before that....
It seems the msvcp140_1.dll is missing. Try to download the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 for your platform. It should work out fine.
For those having trouble with keras, you can try these actions
(1.) You can uninstall keras, using the syntax below in anaconda command prompt
pip uninstall keras
(2.) You can re-install keras version 2.3.1, using the syntax below in anaconda command prompt
pip install keras==2.3.1
Thank you so much. It worked for me
I experienced the same issue, but I figured out how to resolve it
(1.) I uninstalled tensorflow, using the command below in anaconda command prompt
pip uninstall tensorflow
(2.) I installed tensorflow version 2.0.0, using the syntax below
pip install tensorflow==2.0.0It works for me. Thanks!
Thank you so much. It resolves my issue
Hello All,
I am having same issue. I did everything suggested above. I have updated Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019, I have installed tensorflow==2.0.0 and also keras == 2.3.1. After each update I have also restarted my laptop. But I am still getting same error :( . I do not have NVIDIA card in my laptop, is this the reason I am still getting the error?
Please suggest.
Hello mnavaid,
Can you please try the two steps below if you are using anaconda and restart your computer?
step 1. Uninstall tensorflow, using the command below in anaconda command prompt
pip uninstall tensorflow
step 2. Reinstall tensorflow version 2.0.0, using the syntax below
pip install tensorflow==2.0.0
Let me know if this information is helpful.
sadewale1,
Thanks for reply.
I uninstalled and reinstalled tensorflow==2.0.0 as you have suggested but still getting same error.
I am following following steps to install tensorflow and keras:
Hallo Dears
i have also the same Problem and i uninstalled tensorflow and keras and Restart the Computer and installed the suggested versions but i have still this Error
can any one help please it will be to help full cause i wrote my Programm for Biomedical segmentation and i cant run it at the Moment thanks for your Help!!
pawelverma,
after uninstalling tornado==6.0.4 jupyter notebook is not starting.. :(
I am removing the answer if it is not working for you, It just worked for me. Sorry for the inconvenience
pawelverma,
yes, I have installed terminado.
pawelverma
thanks for replying sir
i try to do it but it dosent work
I experienced the same issue, but I figured out how to resolve it
(1.) I uninstalled tensorflow, using the command below in anaconda command prompt
pip uninstall tensorflow
(2.) I installed tensorflow version 2.0.0, using the syntax below
pip install tensorflow==2.0.0
Thank You so much!! I spent about an hour before stumbling on your answers.
Helped a lot.
I have the same problem. Stop telling people to fill out the forms and suggest a solution already.
6 months later and this still exist!
I solved this issue by downloading and installing
"Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019". It worked for me.
Pre-requisite: Python + Jupyter notebook + tensorflow installation already done
You get this error when you "import tensorflow"
Follow the below steps:
Step 1: Download "Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 - community edition"
Step 2: Select "Python Workload" while installing Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019
Step 3: Restart your computer once
Step 4: That's it now open Jupyter notebook and "import tensorflow" and the error will not occur
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3331, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
fcc_csv.head()
NameError: name 'fcc_csv' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2044, in showtraceback
stb = value._render_traceback_()
AttributeError: 'NameError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Joginder Bairwa\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Joginder Bairwa\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 "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1148, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 316, in wrapped
return f(args, *kwargs)
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 350, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "C:\Users\Joginder Bairwa\Anaconda3\lib\inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "C:\Users\Joginder Bairwa\Anaconda3\lib\inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "C:\Users\Joginder Bairwa\Anaconda3\lib\inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "C:\Users\Joginder Bairwa\Anaconda3\lib\inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\Joginder Bairwa\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core__init__.py", line 42, in
from . _api.v2 import audio
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core_api\v2\audio__init__.py", line 10, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 9, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\Joginder Bairwa\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core\python__init__.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3331, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
fcc_csv.head()
NameError: name 'fcc_csv' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2044, in showtraceback
stb = value._render_traceback_()
AttributeError: 'NameError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Joginder Bairwa\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Joginder Bairwa\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Joginder Bairwa\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
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
@wRaq
What is make/model of your cpu?
I suspect your cpu model does not support AVX instructions sets.See hardware requirements
Make sure to download the latest microsoft visual c++ redistributable from here.
.Also, please follow the instructions from to install from Tensorflow website..
Please, check Your CPU/Python is on 32 bits?Thanks!
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!
Most helpful comment
I have the same problem. Stop telling people to fill out the forms and suggest a solution already.