[MacPorts] #61279: py-tensorflow: Symbol not found: __ZN10tensorflow4data12experimental19SnapshotDatasetV2Op10kShardFuncE

MacPorts noreply at macports.org
Tue Oct 6 18:02:33 UTC 2020


#61279: py-tensorflow: Symbol not found:
__ZN10tensorflow4data12experimental19SnapshotDatasetV2Op10kShardFuncE
-----------------------+---------------------------
 Reporter:  essandess  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.3
 Keywords:             |       Port:  py-tensorflow
-----------------------+---------------------------
 py37-tensorflow @2.3.1_0 error: {{{Symbol not found:
 __ZN10tensorflow4data12experimental19SnapshotDatasetV2Op10kShardFuncE}}}




 {{{
 $ python3 -c 'import tensorflow as tf'
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/pywrap_tensorflow.py", line 64, in
 <module>
     from tensorflow.python._pywrap_tensorflow_internal import *
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 6):
 Symbol not found:
 __ZN10tensorflow4data12experimental19SnapshotDatasetV2Op10kShardFuncE
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/_pywrap_tensorflow_internal.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/_pywrap_tensorflow_internal.so

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/__init__.py", line 41, in <module>
     from tensorflow.python.tools import module_util as _module_util
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/__init__.py", line 40, in <module>
     from tensorflow.python.eager import context
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/eager/context.py", line 35, in <module>
     from tensorflow.python import pywrap_tfe
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/pywrap_tfe.py", line 28, in <module>
     from tensorflow.python import pywrap_tensorflow
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/pywrap_tensorflow.py", line 83, in
 <module>
     raise ImportError(msg)
 ImportError: Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/pywrap_tensorflow.py", line 64, in
 <module>
     from tensorflow.python._pywrap_tensorflow_internal import *
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 6):
 Symbol not found:
 __ZN10tensorflow4data12experimental19SnapshotDatasetV2Op10kShardFuncE
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/_pywrap_tensorflow_internal.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/_pywrap_tensorflow_internal.so


 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.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61279>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list