$ python
Python 3.8.3 (default, May 15 2020, 14:39:37)
[Clang 11.0.3 (clang-1103.0.32.59)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/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.8/lib/python3.8/site-packages/tensorflow/python/__init__.py", line 74, in <module>
from tensorflow.python.ops.standard_ops import *
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/standard_ops.py", line 26, in <module>
from tensorflow.python import autograph
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/__init__.py", line 37, in <module>
from tensorflow.python.autograph.core.converter import ConversionOptions
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/core/converter.py", line 70, in <module>
from tensorflow.python.autograph.pyct import ast_util
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/pyct/ast_util.py", line 26, in <module>
from tensorflow.python.autograph.pyct import parser
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/pyct/parser.py", line 28, in <module>
import astunparse
ModuleNotFoundError: No module named 'astunparse'
>>>
In the future, please add the port maintainer(s) to Cc (
port info --maintainers py38-tensorflow
), if any.