Regenerate protobuf: protoc addressbook.proto --python_out . Protobuf is not compatible with python3 so use python2