当前位置:   article > 正文

pip 安装protobuf_how to install protobuff python

pip 安装protobuf_how to install protobuff python

$ apt-get install protobuf-compiler

$

$ protoc--help

Usage: protoc [OPTION] PROTO_FILES

Parse PROTO_FILESandgenerate output based on the options given:-IPATH, --proto_path=PATH Specify the directory in which to search forimports. May be specified multiple times;

directories will be searchedin order. If notgiven, the current working directoryisused.--version Show version info andexit.-h, --help Show this text andexit.--encode=MESSAGE_TYPE Read a text-format message of the given typefrom standard input and write it inbinary

to standard output. The message type must

be definedin PROTO_FILES ortheir imports.--decode=MESSAGE_TYPE Read a binary message of the given type fromstandard inputand write it intext format

to standard output. The message type must

be definedin PROTO_FILES ortheir imports.--decode_raw Read an arbitrary protocol message fromstandard inputand w

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号