cado-security/masked-ai

got error when "pip install masked_ai"

ozbillwang opened this issue · 4 comments

I can lock the version to 1.0.14 and pip install is successful, then got second issue:

ImportError: cannot import name 'Masker' from 'masked_ai'

Hello, What os and python version are you running please?

I've just tested python3.11 on osx and this works for me (note pip3):

pip3 install install masked_ai

I can lock the version to 1.0.14 and pip install is successful, then got second issue:

ImportError: cannot import name 'Masker' from 'masked_ai'

@ozbillwang You have to import it as followed:

from masked_ai.masker import Masker

The chosen naming is pretty confusing but you won't get the class without specifying it like that. Atleast on windows i guess.