Anyone can suggest me how to install protobuf in raspberrypi 3 b+.
if I directly install using the command pip install protobuf it is install but I am not able to import ?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
I suggest to install protobuf in raspberrypi 3 b+ from the default repository. With:
rpi ~$ apt list *protobuf*
you will find some packages supporting protocol buffers. Just install what you want, for example:
rpi ~$ sudo apt install python3-protobuf
You will also find the protobuf compiler if you need it. Installing from the repository has the big advantage that it fits best into the Raspbian operating system and will mostly run out of the box and will take updates automatically. Maybe you have only to do some configurations before running it.