Guest User

TF error

a guest
Feb 28th, 2019
578
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.03 KB | None | 0 0
  1. ---------------------------------------------------------------------------
  2. ImportError                               Traceback (most recent call last)
  3. c:\users\gabriel\anaconda3\envs\tf_env\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>
  4.      57
  5. ---> 58   from tensorflow.python.pywrap_tensorflow_internal import *
  6.      59   from tensorflow.python.pywrap_tensorflow_internal import __version__
  7.  
  8. c:\users\gabriel\anaconda3\envs\tf_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in <module>
  9.      27             return _mod
  10. ---> 28     _pywrap_tensorflow_internal = swig_import_helper()
  11.      29     del swig_import_helper
  12.  
  13. c:\users\gabriel\anaconda3\envs\tf_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
  14.      23             try:
  15. ---> 24                 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  16.      25             finally:
  17.  
  18. c:\users\gabriel\anaconda3\envs\tf_env\lib\imp.py in load_module(name, file, filename, details)
  19.     242         else:
  20. --> 243             return load_dynamic(name, filename, file)
  21.     244     elif type_ == PKG_DIRECTORY:
  22.  
  23. c:\users\gabriel\anaconda3\envs\tf_env\lib\imp.py in load_dynamic(name, path, file)
  24.     342             name=name, loader=loader, origin=path)
  25. --> 343         return _load(spec)
  26.     344
  27.  
  28. ImportError: DLL load failed: Não foi possível encontrar o módulo especificado.
  29.  
  30. During handling of the above exception, another exception occurred:
  31.  
  32. ImportError                               Traceback (most recent call last)
  33. <ipython-input-2-8485b27aed0e> in <module>
  34. ----> 1 import tensorflow as tf
  35.       2 from tensorflow.keras.datasets import cifar10
  36.       3 from tensorflow.keras.preprocessing.image import ImageDataGenerator
  37.       4 from tensorflow.keras.models import Sequential
  38.       5 from tensorflow.keras.layers import Dense, Dropout, Activation, Flatten
  39.  
  40. c:\users\gabriel\anaconda3\envs\tf_env\lib\site-packages\tensorflow\__init__.py in <module>
  41.      22
  42.      23 # pylint: disable=g-bad-import-order
  43. ---> 24 from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  44.      25
  45.      26 from tensorflow._api.v1 import app
  46.  
  47. c:\users\gabriel\anaconda3\envs\tf_env\lib\site-packages\tensorflow\python\__init__.py in <module>
  48.      47 import numpy as np
  49.      48
  50. ---> 49 from tensorflow.python import pywrap_tensorflow
  51.      50
  52.      51 # Protocol buffers
  53.  
  54. c:\users\gabriel\anaconda3\envs\tf_env\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>
  55.      72 for some common reasons and solutions.  Include the entire stack trace
  56.      73 above this error message when asking for help.""" % traceback.format_exc()
  57. ---> 74   raise ImportError(msg)
  58.     75
  59.     76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
  60.  
  61. ImportError: Traceback (most recent call last):
  62.  File "c:\users\gabriel\anaconda3\envs\tf_env\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
  63.    from tensorflow.python.pywrap_tensorflow_internal import *
  64.  File "c:\users\gabriel\anaconda3\envs\tf_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
  65.    _pywrap_tensorflow_internal = swig_import_helper()
  66.  File "c:\users\gabriel\anaconda3\envs\tf_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  67.    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  68.  File "c:\users\gabriel\anaconda3\envs\tf_env\lib\imp.py", line 243, in load_module
  69.    return load_dynamic(name, filename, file)
  70.  File "c:\users\gabriel\anaconda3\envs\tf_env\lib\imp.py", line 343, in load_dynamic
  71.    return _load(spec)
  72. ImportError: DLL load failed: Não foi possível encontrar o módulo especificado.
  73.  
  74.  
  75. Failed to load the native TensorFlow runtime.
  76.  
  77. See https://www.tensorflow.org/install/errors
  78.  
  79. for some common reasons and solutions.  Include the entire stack trace
  80. above this error message when asking for help.
Advertisement
Add Comment
Please, Sign In to add comment