Pysyft: syft.exceptions.UndefinedProtocolTypeError: syft.messaging.message.Operation is not defined in the protocol file

Created on 26 Feb 2020  ·  5Comments  ·  Source: OpenMined/PySyft

when i installed pysyft,  run  _python run_websocket_server.py_  in pysyft-master directoriy. it comes out "syft.exceptions.UndefinedProtocolTypeError: syft.messaging.message.Operation is not defined in the protocol file". 
i have tried to re-install the system(ubuntu 16.04) and pysyft, but it did't work .   
On my other machine, the same method is successful. What should i do to solve the problem?

Most helpful comment

the latest version of syft-proto seems to have issues.
try: pip install syft-proto==0.1.1a1.post20

All 5 comments

I met the same Error as your when importing syft.
Did anyone solve this problem?

the latest version of syft-proto seems to have issues.
try: pip install syft-proto==0.1.1a1.post20

the latest version of syft-proto seems to have issues.
try: pip install syft-proto==0.1.1a1.post20

Perfect solution!

The PR corresponding to those changes in PySyft hadn't yet been reviewed and merged. New PySyft version with those changes coming soon.

Should be fixed by recent releases (v0.2.3 or v0.2.4.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IonesioJunior picture IonesioJunior  ·  3Comments

s-marta picture s-marta  ·  4Comments

MetaT1an picture MetaT1an  ·  3Comments

jvmncs picture jvmncs  ·  3Comments

robert-wagner picture robert-wagner  ·  4Comments