interpretml/interpret-text

[Classical Explainer] Importing Classical Text Explainer throws an OS Error

chhetri22 opened this issue · 2 comments

I set up the environment according to the steps outlined in the Readme and got the following error when I tried to run the Classical Text Explainer. I'm on a mac, perhaps that's causing the issue?

image

hi @chhetri22 , are you using a mac? it looks like you didn't install libomp for lightgbm according to their instructions. Did you run "brew install libomp"?

https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#macos

Thanks @imatiach-msft that fixed the issue!

I installed the packages from requirements.txt which does include lightgbm but I didn't realize that libomp was a dependency.