Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: TODS_PRIMITIVE #50

Open
Dragon-zc opened this issue Dec 22, 2021 · 2 comments
Open

AttributeError: TODS_PRIMITIVE #50

Dragon-zc opened this issue Dec 22, 2021 · 2 comments

Comments

@Dragon-zc
Copy link

I encountered the following error when importing tods

Traceback (most recent call last):
File "hello.py", line 2, in
import tods
File "/home /miniconda3/envs/py36/lib/python3.6/site-packages/tods-0.0.2-py3.6.egg/tods/init.py", line 2, in
from tods.data_processing import *
File "/home/miniconda3/envs/py36/lib/python3.6/site-packages/tods-0.0.2-py3.6.egg/tods/data_processing/init.py", line 1, in
from tods.data_processing.CategoricalToBinary import CategoricalToBinaryPrimitive
File "/home /miniconda3/envs/py36/lib/python3.6/site-packages/tods-0.0.2-py3.6.egg/tods/data_processing/CategoricalToBinary.py", line 119, in
class CategoricalToBinaryPrimitive(transformer.TransformerPrimitiveBase[Inputs, Outputs, Hyperparams]):
File "/home /miniconda3/envs/py36/lib/python3.6/site-packages/tods-0.0.2-py3.6.egg/tods/data_processing/CategoricalToBinary.py", line 159, in CategoricalToBinaryPrimitive
metadata_base.PrimitiveAlgorithmType.TODS_PRIMITIVE,
File "/home /miniconda3/envs/py36/lib/python3.6/enum.py", line 324, in getattr
raise AttributeError(name) from None
AttributeError: TODS_PRIMITIVE

@yzhbreeze
Copy link

I have the same problem. Have you solved it

@soso-maitha
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants