Ubuntu 17.10 上的 gRPC 问题
gRPC issue on Ubuntu 17.10
虽然 运行 与 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 有问题吗?
有人遇到过这个错误吗?
尝试关注https://grpc.io/docs/quickstart/python.html
我猜你有 pip install-ed grpc,而不是 grpcio
虽然 运行 与 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 有问题吗? 有人遇到过这个错误吗?
尝试关注https://grpc.io/docs/quickstart/python.html
我猜你有 pip install-ed grpc,而不是 grpcio