We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following line in the notebook Section 1 - Differential Privacy.ipynb : from syft.frameworks.torch.differential_privacy import pate
Section 1 - Differential Privacy.ipynb
from syft.frameworks.torch.differential_privacy import pate
Leads to the following error
`--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) in ----> 1 from syft.frameworks.torch.differential_privacy import pate
~/opt/anaconda3/envs/pysyft/lib/python3.7/site-packages/syft/init.py in 42 # Import grids 43 from syft.grid.private_grid import PrivateGridNetwork ---> 44 from syft.grid.public_grid import PublicGridNetwork 45 46 # Import sandbox
~/opt/anaconda3/envs/pysyft/lib/python3.7/site-packages/syft/grid/public_grid.py in 1 import torch ----> 2 import requests 3 import json 4 5 from typing import Union
ModuleNotFoundError: No module named 'requests'`
My environment:
Python 3.7.6
macOS Catalina 10.15.1
The text was updated successfully, but these errors were encountered:
fixed by pip install requests
pip install requests
... but then another error is raised:
ModuleNotFoundError: No module named 'syft.frameworks.torch.differential_privacy'
this is fixed by changind differential_privacy by dp:
differential_privacy
dp
from syft.frameworks.torch.dp import pate
Sorry, something went wrong.
No branches or pull requests
The following line in the notebook
Section 1 - Differential Privacy.ipynb
:from syft.frameworks.torch.differential_privacy import pate
Leads to the following error
`---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
in
----> 1 from syft.frameworks.torch.differential_privacy import pate
~/opt/anaconda3/envs/pysyft/lib/python3.7/site-packages/syft/init.py in
42 # Import grids
43 from syft.grid.private_grid import PrivateGridNetwork
---> 44 from syft.grid.public_grid import PublicGridNetwork
45
46 # Import sandbox
~/opt/anaconda3/envs/pysyft/lib/python3.7/site-packages/syft/grid/public_grid.py in
1 import torch
----> 2 import requests
3 import json
4
5 from typing import Union
ModuleNotFoundError: No module named 'requests'`
My environment:
Python 3.7.6
macOS Catalina 10.15.1
The text was updated successfully, but these errors were encountered: