question

Jak-1087 avatar image
0 Votes"
Jak-1087 asked GiftA-MSFT rolled back

can not install opendp.smartnoise in Azure ML

I am using Azure ML via jupyter notebook Python 3.8 - AzureML and Standard_D2s_v3 as computing power
I want to apply differential privacy via opendp according to official tutorials. Hovewer When I try to install it I have an error

!pip install opendp-smartnoise

from opendp.smartnoise.metadata import CollectionMetadata
from opendp.smartnoise.sql import PandasReader, PrivateReader
import opendp.smartnoise.core as sn

---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-15-29fe0b8b627f> in <module>
1 get_ipython().system('pip install opendp-smartnoise')
2
----> 3 from opendp.smartnoise.metadata import CollectionMetadata
4 from opendp.smartnoise.sql import PandasReader, PrivateReader
5 import opendp.smartnoise.core as sn

ModuleNotFoundError: No module named 'opendp'


azure-machine-learning
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, thanks for reaching out. We are reviewing your inquiry and will provide updates soon.

0 Votes 0 ·

Just to clarify, are you trying to install it using Azure ML Notebooks or your local environment? I was able to install it successfully using python 3.6, can you try 3.6 version?

0 Votes 0 ·

0 Answers