问题所在

我们可以发现这个错误跟protobuf的版本有关,因此我们可以执行script/diagnose_protobuf.py

我们可以看到,pip install protobuf 和 brew install protobuf 的版本不一样导致的

解决办法

  1. 更新brew的版本 brew install protobuf@3.4 直接指定版本3.4,根据你的需求作相应的改变
  2. brew link --force --overwrite protobuf@3.4 链接到3.4,因为你的机器上可能装了多个版本
  3. protoc --version
  4. 如果两个版本一样的花,再次执行script/diagnose_protobuf.py 输出:All looks good.

最新文章

  1. Unity四元数小问题整理
  2. ASP.NET Core 开发-Entity Framework (EF) Core 1.0 Database First
  3. Qt使用自带的windeployqt 生成exe来发布软件
  4. paper 82:边缘检测的各种微分算子比较(Sobel,Robert,Prewitt,Laplacian,Canny)
  5. Spring Dynamic Modules - DMserver
  6. HASH JOIN算法
  7. Codeforces 219D Choosing Capital for Treeland
  8. mysql sql_mode 之 NO_ENGINE_SUBSTITUTION
  9. Hbase Region Server 启动失败
  10. 学习笔记:javascript内置对象:字符串对象
  11. Android开发的过去、现在和将来
  12. python全栈开发-Day2 布尔、流程控制、循环
  13. springboot-项目获取resources下文件碰到的问题(classPath下找不到文件和文件名乱码)
  14. java中比较特殊的三个浮点数Infinity、-Infinity、NaN
  15. php如何实现原址排序数组使奇数位于偶数前面(代码)
  16. chartControl ViewType.Bar 用法测试
  17. phpize是什么
  18. pycharm 调试django项目时,debug断点没反应???
  19. Reflections - Java 8 - invalid constant type
  20. Xshell 连接 CentOS 7 与 Ubuntu Server

热门文章

  1. 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functionally dependent on columns in GROUP BY clause
  2. DK NIO的BUG,例如臭名昭著的epoll bug,它会导致Selector空轮询,最终导致CPU 100%。
  3. CSS cursor 属性
  4. Python程序员的10个常见错误(转)
  5. windbg遍历进程页表查看内存
  6. 你应该知道的vim插件之surround.vim
  7. 网络爬虫值scrapy框架基础
  8. SVM支持向量机总结
  9. IDEA 编译报错: 未结束的字符串文字
  10. firewall 防火墙相关