已解决If this call came from a _pb2.py file, your generated code is out of date and must be regenerated
Descriptorscannotnotbecreateddirectly.Ifthiscallcamefroma_pb2.pyfile,yourgeneratedcodeisoutofdateandmustberegeneratedwithprotoc>=3.1.0Ifyoucannotimmediatelyregenerateyourprotos