MacOS安装和升级protobuf
2021-04-26 01:34
7177 查看
团队的新手同学连grpc的环境都搭不起来, 也就有了本篇简单的教程。
GRpc根本用到的俩个东西: protobuf&protoc-gen-go
protoc的安装
MacOS 并不需要复杂的安装
brew info protobuf //查看现有protobuf包 brew install protobuf //安装protobuf protoc --version //查看protobuf版本
因我的版本比他的低,所以我需要更新最新版本。
brew uninstall protobuf --force //卸载原有 brew update brew info //查看版本一致,跟他一致 brew install protobuf
protoc-gen-go 的安装
https://github.com/golang/protobuf
go get -u github.com/golang/protobuf/protoc-gen-go
相关文章推荐
- golang版本protobuf 在windows系统下安装环境
- Mac下protobuf安装,并用maven编译导出jar包
- Mac升级到macOS Sierra 10.12后SVN管理软件Conerstone破解版安装后提示“已损坏”问题
- google protobuf的简介、安装和使用
- linux下安装protobuf及常见错误
- caffe安装过程中与protobuf相关的问题
- protobuf 安装
- Mac安装protobuf 流程
- google protobuf 在Linux下安装与使用 (亲自测了一下, 确定可用!)
- Ubuntu下protobuf的安装、编译及注意事项
- google protobuf安装与使用,以及string_int_label_map_pb2.py的解决
- 安装protobuf Python支持
- 如何在Linux环境下在CodeBlock中安装使用Google Protobuf
- ubuntu18.04编译安装protobuf
- Protobuf java版本安装步骤
- linux安装protobuf( java开发)
- protobuf的安装和使用
- 如何编译安装protobuf极其python版本
- Windows下安装protobuf
- protobuf 安装及使用