tods icon indicating copy to clipboard operation
tods copied to clipboard

Import of Certain Modules Not Working

Open sagarshankar opened this issue 3 years ago • 1 comments

I believe that I properly installed tods into my virtual environment. However for many of the packages in the different modules, I am getting AttributeErrors primarily for some reason. My python environment is 3.8.10.

Ex: from tods.detection_algorithm import PyodHBOS

Provides the following error:

File "c:/Users/shankars/path/Code Files/TODS.py", line 8, in from tods.detection_algorithm import PyodHBOS File "C:\Users\shankars\path.py38env\lib\site-packages\tods\detection_algorithm\PyodHBOS.py", line 75, in class HBOSPrimitive(UnsupervisedOutlierDetectorBase[Inputs, Outputs, Params, Hyperparams]): File "C:\Users\shankars\path.py38env\lib\site-packages\tods\detection_algorithm\PyodHBOS.py", line 131, in HBOSPrimitive "algorithm_types": [metadata_base.PrimitiveAlgorithmType.HISTOGRAM_BASED_OUTLIER_DETECTION], File "C:\Users\shankars\AppData\Local\Programs\Python\Python38\lib\enum.py", line 384, in getattr raise AttributeError(name) from None AttributeError: HISTOGRAM_BASED_OUTLIER_DETECTION

Apologies if this is a trivial question, but I have not been able to figure out why this would not be working. Any feedback or resolution to this issue would be appreciated.

sagarshankar avatar Jun 10 '22 12:06 sagarshankar

Seems like you are using the Windows system, which is not supported yet. Currently, TODS only support linux based system (OSX, Ubuntu). We are working on supporting Windows.

lhenry15 avatar Jun 10 '22 17:06 lhenry15