This repository was archived by the owner on Sep 3, 2022. It is now read-only.
This repository was archived by the owner on Sep 3, 2022. It is now read-only.
Incompatibility with Python 3.7 #711
Closed
Description
Bug:
Importing the datalab module fails in python 3.7
Steps to Reproduce:
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from google import datalab
Expected:
Successful import
Stack Trace:
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/site-packages/google/datalab/__init__.py", line 13, in <module>
from google.datalab._context import Context
File "/usr/local/lib/python3.7/site-packages/google/datalab/_context.py", line 20, in <module>
from google.datalab.utils import _utils as du
File "/usr/local/lib/python3.7/site-packages/google/datalab/utils/__init__.py", line 15
from ._async import async, async_function, async_method
^
SyntaxError: invalid syntax
Notes:
Previous versions of python successfully imported datalab, so I'm assuming it's caused by async being a keyword in Python 3.7 hence the syntax error.
Metadata
Metadata
Assignees
Labels
No labels