Pan*_*rge 7 python pip protocol-buffers python-3.6
据我所知,protobuf 是 Google 的一种二进制序列化格式,旨在序列化结构化数据。例如,当我尝试使用 pip 安装 aquests 包时,为什么我会收到如下所示的 protobuff 错误?
错误:
“tensorflow 1.7.0 要求 protobuf>=3.4.0,但您将拥有不兼容的 protobuf 3.1.0.post1。”
phd*_*phd 3
因为protobuf是一个实现上述协议的 Python 包,并且tensorflow需要比您已有的版本更高的版本。运行pip install -U tensorflow而不是pip install tensorflow或至少运行pip install -U 'protobuf>=3.4.0'.
tensorflow
pip install -U tensorflow
pip install tensorflow
pip install -U 'protobuf>=3.4.0'
归档时间:
7 年,5 月 前
查看次数:
11194 次
最近记录: