在运行与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有问题吗?有没有人遇到过这个错误?
1 回答
试试以下https://grpc.io/docs/quickstart/python.html
我的猜测是你有pip install-ed grpc,而不是grpcio