擅长:python、mysql、java
<p>问题是protobuf版本。自3.5.0版添加<code>file</code>字段<a href="https://github.com/google/protobuf/blob/9f80df026933901883da1d556b38292e14836612/CHANGES.txt#L74" rel="nofollow noreferrer">https://github.com/google/protobuf/blob/9f80df026933901883da1d556b38292e14836612/CHANGES.txt#L74</a>以来,您可能已经通过brew安装了最新的protoc;和protobuf</p>
<p>所以在上面的更改中,在<code>REQUIRED_PACKAGES</code>中将protobuf version设置为<code>'protobuf>=3.5.1'</code></p>