OpenMined/PSI

Error in python psi for v2.0.1 on mac10.15.4

Closed this issue · 1 comments

Description

A clear and concise description of the bug.

How to Reproduce

  1. In source code, modify init.py
    modifly1

  2. run PSI/private_set_intersection/python/tests.py directly

  3. See error:

run1

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System Information

  • OS: mac
  • OS Version: 10.15.4
  • Language Version: python3.9

Additional Context

Error: AttributeError: module '_openmined_psi' has no attribute 'data_structure'
Thanks very much!!

You're changing the import path to something that doesn't exist.

This was a breaking change sometime back after (I think) 1.0.0.

Keep the import path structure the same as in the tests and you will be fine.