Ubuntu 17.10上的gRPC问题

问题描述 投票:-1回答:1

在运行与gRPC(//tensorflow/core/debug:grpc_session_debug_test)相关的TensorFlow测试时,出现以下错误:

    self.server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
AttributeError: 'module' object has no attribute 'server'

这只出现在Ubuntu 17.10上。适用于Ubuntu 16.04

我安装了以下内容:

pip install futures grpc flask-socketio 

17.10的gRPC有问题吗?有没有人遇到过这个错误?

tensorflow grpc
1个回答
1
投票

试试关注https://grpc.io/docs/quickstart/python.html

我的猜测是你有pip install-ed grpc,而不是grpcio

© www.soinside.com 2019 - 2024. All rights reserved.