问题
from __future__ import google_type_annotations
I installed python 3.7 as it was suggested in this solution.
I get the following error when I run the file.
Traceback (most recent call last):
File "run_classifier_with_tfhub.py", line 21, in <module>
import classifier_utils
File "/ALBERT/classifier_utils.py", line 19
from __future__ import google_type_annotations
^
SyntaxError: future feature google_type_annotations is not defined
来源:https://stackoverflow.com/questions/59369532/syntaxerror-future-feature-google-type-annotations-is-not-defined