>>> from bigquery_sql_parser import query
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/brian.lie/miniconda3/envs/parser/lib/python3.6/site-packages/bigquery_sql_parser/query.py", line 8, in <module>
from .tokenizer import Tokenizer
File "/Users/brian.lie/miniconda3/envs/parser/lib/python3.6/site-packages/bigquery_sql_parser/tokenizer.py", line 1
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined
Reproducing with these steps
conda create -n sqlparser python=3.6conda activate sqlparserpython -m pip install bigquery-sql-parser