执行“ googlesamples-assistant-pushtotalk”时出错

时间:2019-09-30 06:06:39

标签: google-assistant-sdk

我在执行以下命令时出错:

"googlesamples-assistant-pushtotalk --project-id my-dev-project --device-model-id my-model"

那给我的错误是:

File "/home/pi/env/bin/googlesamples-assistant-pushtotalk", line 6, in <module>
    from googlesamples.assistant.grpc.pushtotalk import main
File "/home/pi/env/lib/python3.7/site-packages/googlesamples/assistant/grpc/pushtotalk.py", line 28, in <module>
    import grpc
File "/home/pi/env/lib/python3.7/site-packages/grpc/__init__.py", line 23, in <module>
    from grpc._cython import cygrpc as _cygrpc
ImportError: /home/pi/env/lib/python3.7/site-packages/grpc/_cython/cygrpc.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_exchange_8

1 个答案:

答案 0 :(得分:1)

在环境中运行以下代码:

pip3 install 'grpcio==1.23.0' --force-reinstall