datamllab/tods

AttributeError: TODS_PRIMITIVE

songfeigu opened this issue · 1 comments

when i run
from tods.sk_interface.detection_algorithm.IsolationForest_skinterface import IsolationForestSKI

finallly
d:\software\Anaconda3\envs\tods_env\lib\site-packages\tods\detection_algorithm\AutoRegODetect.py in AutoRegODetectorPrimitive()
139 },
140 "algorithm_types": [
--> 141 metadata_base.PrimitiveAlgorithmType.TODS_PRIMITIVE,
142 ],
143 "primitive_family": metadata_base.PrimitiveFamily.ANOMALY_DETECTION,

d:\software\Anaconda3\envs\tods_env\lib\enum.py in getattr(cls, name)
352 return cls.member_map[name]
353 except KeyError:
--> 354 raise AttributeError(name) from None
355
356 def getitem(cls, name):

AttributeError: TODS_PRIMITIVE

I am getting the same error. I am using python 3.7 on Windows 10