基于Python-API,我配置并安装了协议缓冲区(如http://worthynote.blogspot.com/2011/05/protobuf-compiler-on-mac.html中所述)和 python 2.7 的要求。当我运行命令时
python examples.py
仍然面临错误:
File "examples.py", line 3, in <module>
import market_proto
File "/Users/siddharthan64/Downloads/android-market-api-py-master/market_proto.py", line 3, in <module>
from google.protobuf import descriptor
ImportError: No module named google.protobuf
知道这里出了什么问题吗?