tods icon indicating copy to clipboard operation
tods copied to clipboard

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

Open kobeontheway opened this issue 3 years ago • 3 comments

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'

kobeontheway avatar Oct 12 '21 13:10 kobeontheway

We are working on upgrading to support python3.7+

lhenry15 avatar Oct 12 '21 18:10 lhenry15

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

mistycheney avatar Apr 13 '22 01:04 mistycheney

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?

lhenry15 avatar Apr 13 '22 02:04 lhenry15