Skip to content

error for use of pywrap_tensorflow.py #847

Open
@Sandy4321

Description

@Sandy4321

to replicate try to use
from nn import neural_net

from
https://github.com/harvitronix/reinforcement-learning-car

error is

File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\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 "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\imp.py", line 342, in load_dynamic
return _load(spec)

builtins.ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

File "e:\my_code\error_repo_git_hub_Apr26\reinforcement-learning-car-master\reinforcement-learning-car-master\playing.py", line 7, in
from nn import neural_net
File "e:\my_code\error_repo_git_hub_Apr26\reinforcement-learning-car-master\reinforcement-learning-car-master\nn.py", line 6, in
from keras.models import Sequential
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\keras_init_.py", line 3, in
from . import utils
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\keras\utils_init_.py", line 6, in
from . import conv_utils
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\keras\backend_init_.py", line 1, in
from .load_backend import epsilon
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\keras\backend\load_backend.py", line 90, in
from .tensorflow_backend import *
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in
import tensorflow as tf
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\tensorflow_init_.py", line 101, in
from tensorflow_core import *
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\tensorflow_core_init_.py", line 40, in
from tensorflow.python.tools import module_util as module_util
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\tensorflow_init
.py", line 50, in getattr
module = self.load()
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\tensorflow_init
.py", line 44, in _load
module = importlib.import_module(self.name)
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\importlib_init
.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\tensorflow_core\python_init
.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)

builtins.ImportError: Traceback (most recent call last):
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\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 "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\lib\imp.py", line 342, in load_dynamic
... (truncated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions