Google protobuf的安装
2017-10-27 00:00
316 查看
下载:
http://download.openpkg.org/components/cache/protobuf/protobuf-2.5.0.tar.bz2
tar -xf protobuf-2.5.0.tar.bz2
cd protobuf-2.5.0
编译安装
./configure
make
make check
make install
继续安装protobuf的python模块(如果不用python,可跳过这一步)
#cd ./python
#python setup.py build
#python setup.py test
#python setup.py install
安装完成,验证Linux命令
#protoc –version
验证Python模块是否被正确安装
#python
>>>import google.protobuf
如果没有报错,说明安装正常。
http://download.openpkg.org/components/cache/protobuf/protobuf-2.5.0.tar.bz2
tar -xf protobuf-2.5.0.tar.bz2
cd protobuf-2.5.0
编译安装
./configure
make
make check
make install
继续安装protobuf的python模块(如果不用python,可跳过这一步)
#cd ./python
#python setup.py build
#python setup.py test
#python setup.py install
安装完成,验证Linux命令
#protoc –version
验证Python模块是否被正确安装
#python
>>>import google.protobuf
如果没有报错,说明安装正常。
相关文章推荐
- google protobuf编译安装(ImportError: No module named google.protobuf.internal)
- 安装Google protobuf
- Google的Protobuf安装及使用笔记一
- PHP安装Google protobuf及使用
- google protobuf在ubuntu上安装使用步骤
- Google protobuf的安装及使用和理解
- Google protobuf安装
- Windows10 Google protobuf 2.6.1 安装
- linux下安装google protobuf(详细)
- caffe支持pycaffe的安装:ImportError: No module named google.protobuf.internal
- google protobuf安装与使用
- Google protobuf的安装及使用
- google protobuf src安装运行
- google protobuf编译安装(ImportError: No module named google.protobuf.internal)
- Google_Protobuf协议——Protobuf安装编译
- google protobuf 在Linux下安装与使用
- mac安装protobuf2.4.1时报错./include/gtest/internal/gtest-port.h:428:10: fatal error: 'tr1/tuple' file not found和google/protobuf/message.cc:175:16: error: implicit instantiation of undefined template
- iOS中ProtocolBuffer2.2的安装及google/protobuf/message.cc:130:60错误解决办法
- google protobuf(java) window(不分32和64)下安装以及使用
- Google protobuf的安装及使用