datamllab / tods

TODS: An Automated Time-series Outlier Detection System
http://tods-doc.github.io
Apache License 2.0
1.45k stars 194 forks source link

python3.7 AttributeError: module 'typing' has no attribute 'GenericMeta' #45

Open kobeontheway opened 3 years ago

kobeontheway commented 3 years ago

could your team help this project support python3.7? In python3.7 typing had remove GenericMeta.

File "/usr/local/lib/python3.7/site-packages/d3m/container/init.py", line 5, in from .dataset import * File "/usr/local/lib/python3.7/site-packages/d3m/container/dataset.py", line 32, in from . import pandas as container_pandas File "/usr/local/lib/python3.7/site-packages/d3m/container/pandas.py", line 10, in from . import list as container_list File "/usr/local/lib/python3.7/site-packages/d3m/container/list.py", line 8, in from d3m.metadata import base as metadata_base File "/usr/local/lib/python3.7/site-packages/d3m/metadata/base.py", line 25, in from . import hyperparams as hyperparams_module, primitive_names File "/usr/local/lib/python3.7/site-packages/d3m/metadata/hyperparams.py", line 24, in from d3m import deprecate, exceptions, utils File "/usr/local/lib/python3.7/site-packages/d3m/utils.py", line 552, in class GenericMetaclass(typing.GenericMeta, Metaclass): AttributeError: module 'typing' has no attribute 'GenericMeta'

lhenry15 commented 3 years ago

We are working on upgrading to support python3.7+

mistycheney commented 2 years ago

Any updates on this? The current master branch still shows this error

lhenry15 commented 2 years ago

The current master branch is now supporting python3.7+, the problem should be resolved. Could you provide your environment settings and the details of the error?