ラズパイ4でグーグルホームを自作したいのですが起動時に
pi@raspberrypi:~/AIY-projects-python $ src/examples/voice/assistant_library_demo.py Traceback (most recent call last): File "src/examples/voice/assistant_library_demo.py", line 71, in <module> main() File "src/examples/voice/assistant_library_demo.py", line 64, in main credentials = auth_helpers.get_assistant_credentials() File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 151, in get_assistant_credentials return _try_to_get_credentials(credentials_file) File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 123, in _try_to_get_credentials credentials = _credentials_flow_interactive(client_secrets) File "/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py", line 75, in _credentials_flow_interactive webbrowser.register('chromium-browser', None, webbrowser.Chrome('chromium-browser'), -1) TypeError: register() takes from 2 to 3 positional arguments but 4 were given
というエラーが出てしまいます。
sudoをつけたら別のエラーになります。
pi@raspberrypi:~/AIY-projects-python $ sudo src/examples/voice/assistant_library_demo.py You need client secrets to use the Assistant API. Follow these instructions: https://developers.google.com/api-client-library/python/auth/installed-app#creatingcred and put the file at /root/assistant.json
なにかわかる方は回答お願いします。
参考
https://yuki-no-yabo.com/software-install-for-aiy-voice-kit/
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。