Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. python
  2. from __future__ import absolute_import, division, print_function, unicode_literals
  3.  
  4. import pathlib
  5.  
  6. import matplotlib.pyplot as plt
  7. import pandas as pd
  8. import seaborn as sns
  9.  
  10. import tensorflow as tf
  11. from tensorflow import keras
  12. from tensorflow.keras import layers
  13.  
  14. print(tf.__version__)
  15.  
  16. ---------------------------------------------------------------------------
  17. ImportError Traceback (most recent call last)
  18. <ipython-input-11-e2c1176b26ef> in <module>()
  19. 7 import seaborn as sns
  20. 8
  21. ----> 9 import tensorflow as tf
  22. 10 from tensorflow import keras
  23. 11 from tensorflow.keras import layers
  24.  
  25. /usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py in <module>()
  26. 26
  27. 27 # pylint: disable=g-bad-import-order
  28. ---> 28 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
  29. 29 from tensorflow.python.tools import module_util as _module_util
  30. 30
  31.  
  32. /usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py in <module>()
  33. 47 import numpy as np
  34. 48
  35. ---> 49 from tensorflow.python import pywrap_tensorflow
  36. 50
  37. 51 # Protocol buffers
  38.  
  39. ImportError: cannot import name pywrap_tensorflow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement