pip install -U protobuf.
didn't work for me
i've tried installing different versions of protobuf and nothing does it
i've tried installing different versions of protobuf and nothing does it
if you are using python3,uninstalled the existing installation using pip. Then installed again by pip3 install protobuf
@Toni-Antonova Which version are you using? (be sure to uninstall all protobuf before install)
uninstall first and then install, it works for me.
just pip install -U protobuf does not work.
I got the same problem. I had to uninstall tensorboardX, unistall protobuf and then install both of them again. It is working now.
Most helpful comment
if you are using python3,uninstalled the existing installation using pip. Then installed again by pip3 install protobuf