Ubuntu 17.10上的gRPC问题

时间:2018-02-19 06:45:35

标签: tensorflow grpc

运行与gRPC相关的TensorFlow测试时(//tensorflow/core/debug:grpc_session_debug_test) 我收到以下错误:

    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有问题吗? 有人遇到过这个错误吗?

1 个答案:

答案 0 :(得分:1)

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

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

相关问题