ubuntu で grpc を使用していますが、run_codegen.sh で生成された *_pb2.py をインポートすると、次の ImportError が発生しました。
raceback (most recent call last):
File "q_db_op.py", line 2, in <module>
import db_op_pb2
File "/data/server/grpc/db_op_pb2.py", line 331, in <module>
from grpc.early_adopter import implementations
File "/usr/local/lib/python2.7/dist-packages/grpc/early_adopter/implementations.py", line 34, in <module>
from grpc._adapter import fore as _fore
File "/usr/local/lib/python2.7/dist-packages/grpc/_adapter/fore.py", line 38, in <module>
from grpc._adapter import _intermediary_low as _low
File "/usr/local/lib/python2.7/dist-packages/grpc/_adapter/_intermediary_low.py", line 57, in <module>
from grpc._adapter import _low
File "/usr/local/lib/python2.7/dist-packages/grpc/_adapter/_low.py", line 31, in <module>
from grpc._adapter import _c
ImportError: /usr/local/lib/python2.7/dist-packages/grpc/_adapter/_c.so: undefined symbol: grpc_google_iam_credentials_create
フィードバックをお待ちしております。