OpenMined / PyDP

The Python Differential Privacy Library. Built on top of: https://github.com/google/differential-privacy
Apache License 2.0
497 stars 136 forks source link

Support for M1 Mac? #402

Open youny626 opened 2 years ago

youny626 commented 2 years ago

Description

I got the error ModuleNotFoundError: No module named 'pydp._pydp' when running carrots.py in examples. I used pip install python-dp to install the library and strangely it can only install version=0.1.0. When I tried to pip install python-dp==1.1.1, I get the following error:

ERROR: Could not find a version that satisfies the requirement python-dp==1.1.1 (from versions: 0.1.0)
ERROR: No matching distribution found for python-dp==1.1.1

The error is likely due to lack of support for M1 Mac (with ARM arch)

System Information

chinmayshah99 commented 2 years ago

We use GitHub actions to create the build and use it to generate our python packages. GitHub does not support for m1 chips yet: https://github.com/actions/virtual-environments/issues/2187#issuecomment-737339211 Once they add a support for it, we can release the corresponding python package.

mattsg6 commented 1 year ago

It seems GitHub now supports m1 runners (seen here). Would it be possible to update the workflow for this repo to resolve this?

chinmayshah99 commented 1 year ago

From what it looks like, it should be Q4 23'.

lthoulon-locala commented 7 months ago

I'm having the same issue here. Any new status on the matter ? Thanks