Windows7上配置Python Protobuf 操作步骤

1、  按照http://blog.csdn.net/fengbingchun/article/details/8183468 中步骤,首先安装Python 2.7.10;

2、  按照http://blog.csdn.net/fengbingchun/article/details/47905907 中步骤,配置、编译Protobuf;

3、  将(2)中生成的protoc.exe文件拷贝到protobuf-master/python目录下;

4、  打开cmd,切换到protobuf-master/python目录下,依次执行:

python setup.py build

python setup.py test

python setup.py install

你可能感兴趣的:(Python)