Attribute error
module 'syft' has no attribute 'ID_PROVIDER'

@AnchalAgarwal21 What PySyft version are you using?
@karlhigley 0.2.3a1
@AnchalAgarwal21 Huh, haven't seen that issue with that version. Could you share the output of pip list and the imports above in the notebook?
I have a silly question but have done a full ‘import syft as sy’ before? I had a similar error when doing strange things during the syft import
What is the full sample of code you re trying to run?
@karlhigley import torch as th from torch import nn,optim import syft as sy from syft.workers.virtual import VirtualWorker from syft.exceptions import WorkerNotFoundException
I copied the entire code on another notebook and to my surprise, it didn't give any error but now I have encountered another error.

You forgot to hook torch with hook = sy.TorchHook(torch) to extend torch tensors methods.
Thank you @pierrepocreau ..I missed placing the hook torch.