awslabs/privacy-preserving-xgboost-inference

Pytest unnable to find OPE module

juanfraire opened this issue · 2 comments

Running python3 -m pytest in ./test failed to find 'ope' module: (ModuleNotFoundError: No module named 'ope').
To fix it I added import sys and sys.path.append('../third-party') in the first lines of test_PPKey.py and test_ppxg_boost.py.

Could you try running the tests with the https://github.com/awslabs/privacy-preserving-xgboost-inference/tree/ope-fix branch? Note you will have to run [sudo] pip3 install -r requirements.txt again.

Fixed by #10.