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

Can't import dice_ml because of raiutils lib #432

Open
luana-garcia opened this issue Mar 6, 2024 · 2 comments
Open

Can't import dice_ml because of raiutils lib #432

luana-garcia opened this issue Mar 6, 2024 · 2 comments

Comments

@luana-garcia
Copy link

Hello! I'm trying to use the dice-ml package and getting error of module not found.

Machine specifications:

  • Ubuntu 22.04.3 LTS
  • Python 3.10.12
  • dice-ml 0.11
  • raiutils 0.4.1

(1) When I try to run pip install dice-ml I don't get any error,
but when I import the dice_ml package in python code I get ModuleNotFoundError: No module named 'dice_ml'.

(2) When I try to clone the repository and run !pip install -e . I don't get any error either,
but when I import the dice_ml package in python code I get ModuleNotFoundError: No module named 'raiutils'.

But the packages are installed when we list pip packages.
Searching about raiutils, it seems like there has been some changes in this package, maybe that's the root of the problem.
Anyway I can't even try the dice_ml library without importing it, so please help me discover the problem here.

Follow the code used attached:
Execução_DiCE.zip

@gaugup
Copy link
Collaborator

gaugup commented Mar 6, 2024

@luana-garcia, how are you trying to import dice-ml? Could you share the code?

@luana-garcia
Copy link
Author

luana-garcia commented Mar 7, 2024

@luana-garcia, how are you trying to import dice-ml? Could you share the code?

@gaugup I've put a zip with the jupyter notebook with the codes and outputs.
I'll print some images here to help visualize.

image
image
image
image
image
image

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

No branches or pull requests

2 participants