Aletheia
Aletheia copied to clipboard
Pb with installation: cannot load any function from aletheia
Hi,
I've followed README instructions for installation, but I cannot make aletheia work. Here is my config:
- Ubuntu 16.04
- python 3.7.2
- pip install git+https://github.com/SelfExplainML/aletheia.git doesn't throw errors, and requirements were correctly installed.
But, here is the error when running a example notebook:

Any ideas?
I just ran across this repo and the README instructions worked on my end. Are you sure you've installed it correctly?
I.e. does
import aletheia
dir(aletheia)
print the expected classes? It should print something like
['MergerClassifier', 'MergerRegressor', 'PrunerClassifier', 'PrunerRegressor', 'UnwrapperClassifier', 'UnwrapperRegressor', '__all__', '__author__', '__builtins__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__test__', '__version__', 'aletheia', 'flatten', 'merge', 'prune']
Also, does pip show the right version? I have
$ pip3 show aletheia
Name: aletheia
Version: 1.0
Summary: Unwrapping ReLU Networks
Home-page: https://github.com/SelfExplainML/aletheia
Author: Zebin Yang and Aijun Zhang
Author-email: [email protected]
License: BSD
Thanks for answer.
I reinstalled it from scratch following literally instructions from README, same problem unfortunately.
.
Hi, Thanks for letting us know this issue. It seems to be a problem related to OS. Our last trial version is compiled for Linux (CentOS) and a new one for Ubuntu (16.04) is provided. Could you have another try?
Thanks for uploading built versions for Ubuntu.
Since https://github.com/SelfExplainML/Aletheia/commit/a5a35032bf62aa4dfbeb002c18286fbcbccab567, here is what I tried:
| OS | python | worked? |
|---|---|---|
| Ubuntu 16.04 | 3.7.2 | N |
| Ubuntu 16.04 | 3.8.1 | Y |
| Amazon Linux | 3.7.2 | N |
| Ubuntu 20.04 | 3.8.1 | Y |
It finally worked. Thanks for the support. Probably an issue with python 3.7.