Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. Python 3.5.2 (default, Nov 23 2017, 16:37:01)
  2. [GCC 5.4.0 20160609] on linux
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> import tensorflow as tf
  5. Traceback (most recent call last):
  6. File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
  7. from tensorflow.python.pywrap_tensorflow_internal import *
  8. File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  9. _pywrap_tensorflow_internal = swig_import_helper()
  10. File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  11. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  12. File "/usr/lib/python3.5/imp.py", line 242, in load_module
  13. return load_dynamic(name, filename, file)
  14. File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
  15. return _load(spec)
  16. ImportError: /usr/local/lib/python3.5/dist-packages/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: PyString_FromStringAndSize
  17.  
  18. During handling of the above exception, another exception occurred:
  19.  
  20. Traceback (most recent call last):
  21. File "<stdin>", line 1, in <module>
  22. File "/usr/local/lib/python3.5/dist-packages/tensorflow/__init__.py", line 24, in <module>
  23. from tensorflow.python import * # pylint: disable=redefined-builtin
  24. File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/__init__.py", line 49, in <module>
  25. from tensorflow.python import pywrap_tensorflow
  26. File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in <module>
  27. raise ImportError(msg)
  28. ImportError: Traceback (most recent call last):
  29. File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
  30. from tensorflow.python.pywrap_tensorflow_internal import *
  31. File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  32. _pywrap_tensorflow_internal = swig_import_helper()
  33. File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  34. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  35. File "/usr/lib/python3.5/imp.py", line 242, in load_module
  36. return load_dynamic(name, filename, file)
  37. File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
  38. return _load(spec)
  39. ImportError: /usr/local/lib/python3.5/dist-packages/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: PyString_FromStringAndSize
  40.  
  41.  
  42. Failed to load the native TensorFlow runtime.
  43.  
  44. See https://www.tensorflow.org/install/install_sources#common_installation_problems
  45.  
  46. for some common reasons and solutions. Include the entire stack trace
  47. above this error message when asking for help.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement