[MacPorts] #58904: tensorboard-3.7 fails to launch

MacPorts noreply at macports.org
Sat Aug 31 02:57:46 UTC 2019


#58904: tensorboard-3.7 fails to launch
--------------------+----------------------------
 Reporter:  blair   |      Owner:  blair
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py-tensorboard
--------------------+----------------------------
 {{{
 $ tensorboard-3.7
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541:
 FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
 deprecated; in a future version of numpy, it will be understood as (type,
 (1,)) / '(1,)type'.
   _np_qint8 = np.dtype([("qint8", np.int8, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542:
 FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
 deprecated; in a future version of numpy, it will be understood as (type,
 (1,)) / '(1,)type'.
   _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543:
 FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
 deprecated; in a future version of numpy, it will be understood as (type,
 (1,)) / '(1,)type'.
   _np_qint16 = np.dtype([("qint16", np.int16, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544:
 FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
 deprecated; in a future version of numpy, it will be understood as (type,
 (1,)) / '(1,)type'.
   _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545:
 FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
 deprecated; in a future version of numpy, it will be understood as (type,
 (1,)) / '(1,)type'.
   _np_qint32 = np.dtype([("qint32", np.int32, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550:
 FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
 deprecated; in a future version of numpy, it will be understood as (type,
 (1,)) / '(1,)type'.
   np_resource = np.dtype([("resource", np.ubyte, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning:
 Passing (type, 1) or '1type' as a synonym of type is deprecated; in a
 future version of numpy, it will be understood as (type, (1,)) /
 '(1,)type'.
   _np_qint8 = np.dtype([("qint8", np.int8, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning:
 Passing (type, 1) or '1type' as a synonym of type is deprecated; in a
 future version of numpy, it will be understood as (type, (1,)) /
 '(1,)type'.
   _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning:
 Passing (type, 1) or '1type' as a synonym of type is deprecated; in a
 future version of numpy, it will be understood as (type, (1,)) /
 '(1,)type'.
   _np_qint16 = np.dtype([("qint16", np.int16, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning:
 Passing (type, 1) or '1type' as a synonym of type is deprecated; in a
 future version of numpy, it will be understood as (type, (1,)) /
 '(1,)type'.
   _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning:
 Passing (type, 1) or '1type' as a synonym of type is deprecated; in a
 future version of numpy, it will be understood as (type, (1,)) /
 '(1,)type'.
   _np_qint32 = np.dtype([("qint32", np.int32, 1)])
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning:
 Passing (type, 1) or '1type' as a synonym of type is deprecated; in a
 future version of numpy, it will be understood as (type, (1,)) /
 '(1,)type'.
   np_resource = np.dtype([("resource", np.ubyte, 1)])
 Traceback (most recent call last):
   File "/opt/local/bin/tensorboard-3.7", line 6, in <module>
     from tensorboard.main import run_main
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/main.py", line 40, in <module>
     from tensorboard import default
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/default.py", line 39, in <module>
     from tensorboard.plugins.beholder import beholder_plugin_loader
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/plugins/beholder/__init__.py", line 22, in
 <module>
     from tensorboard.plugins.beholder.beholder import Beholder
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorboard/plugins/beholder/beholder.py", line 199, in
 <module>
     class BeholderHook(tf.estimator.SessionRunHook):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/tensorflow/python/util/deprecation_wrapper.py", line 106,
 in __getattr__
     attr = getattr(self._dw_wrapped_module, name)
 AttributeError: module 'tensorflow' has no attribute 'estimator'
 }}}

 I have a fix coming for this. The issue is that https://pypi.org/project
 /tensorflow-estimator/ isn't installed.

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


More information about the macports-tickets mailing list