Closed jkomyno closed 3 years ago
Hello @jkomyno,
thank you for your interest in ERAN.
zonoml
is part of ELINA and should have been installed when following the README. Can you check that the following (relative) path exists eran/ELINA/python_interface/zonoml.py
?
To include the python_interface
directory in the python search path, we add the relative path before other import statements here:
https://github.com/eth-sri/eran/blob/396dc7a118d0b8772b4f0e9684f9203c9c9b6f63/tf_verify/__main__.py#L21
For this to work it is important that your working directory is tf_verify
. Otherwise, you can replace the fragment above with:
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)),"../ELINA/python_interface/"))
However, I would try to avoid this, since other issues might arise due to an unexpected working directory.
Cheers, Mark
Grüezi @mnmueller, thank you for the quick reply :)
I noticed that I had downloaded ELINA and the other dependencies in ~
rather than in ~/eran
.
I moved them to ~/eran
as you suggested and it worked! I'm thus closing this issue.
Best regards, Alberto
Hi, thank you for this project. I followed all the installation steps mentioned in the README, and I have installed
eran
onUbuntu 20.04
.When running
tf-verify
with thedeeppoly
domain, I have the following error:I haven't found any reference to this in other open issues. I also tried
pip3 install zonoml
. How can I fix this?