问题
TypeError: Descriptors cannot be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0
解决
参考https://stackoverflow.com/questions/72441758/typeerror-descriptors-cannot-not-be-created-directly,
pip install wandb==0.12.17