<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Address already in use error message for google assistant on Pi]]></title><description><![CDATA[<p dir="auto">following the tutorial on AIY projects, everythings gone well until i came to run this <code>cmd&gt; ./assistant_grpc_demo.py</code></p>
<p dir="auto">then it is throwing up this text and error message.</p>
<pre><code>pi@raspberrypi:~/AIY-projects-python/src/examples/voice $ ./assistant_grpc_demo.py
DEBUG:requests_oauthlib.oauth2_session:Generated new state nvp5K9TV1TzH8PNnTKYlwvnBsvGbmB.
Traceback (most recent call last):
  File "./assistant_grpc_demo.py", line 57, in &lt;module&gt;
    main()
  File "./assistant_grpc_demo.py", line 49, in main
    language_code=args.language)
  File "/opt/aiy/projects-python/src/aiy/assistant/grpc.py", line 205, in __init__
    super().__init__(language_code, volume_percentage)
  File "/opt/aiy/projects-python/src/aiy/assistant/grpc.py", line 64, in __init__
    credentials = auth_helpers.get_assistant_credentials()
  File "/opt/aiy/projects-python/src/aiy/assistant/auth_helpers.py", line 132, in get_assistant_credentials
    return _try_to_get_credentials(credentials_file)
  File "/opt/aiy/projects-python/src/aiy/assistant/auth_helpers.py", line 123, in _try_to_get_credentials
    credentials = _credentials_flow_interactive(client_secrets)
  File "/opt/aiy/projects-python/src/aiy/assistant/auth_helpers.py", line 76, in _credentials_flow_interactive
    credentials = flow.run_local_server()
  File "/usr/local/lib/python3.5/dist-packages/google_auth_oauthlib/flow.py", line 407, in run_local_server
    host, port, wsgi_app, handler_class=_WSGIRequestHandler)
  File "/usr/lib/python3.5/wsgiref/simple_server.py", line 160, in make_server
    server = server_class((host, port), handler_class)
  File "/usr/lib/python3.5/socketserver.py", line 440, in __init__
    self.server_bind()
  File "/usr/lib/python3.5/wsgiref/simple_server.py", line 51, in server_bind
    HTTPServer.server_bind(self)
  File "/usr/lib/python3.5/http/server.py", line 138, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib/python3.5/socketserver.py", line 454, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
</code></pre>
<p dir="auto">i have no idea what it is or how to work around it, any info in the ether please?</p>
<p dir="auto"><em>markdown added by yawns</em></p>
]]></description><link>https://forum.magicmirror.builders/topic/9847/address-already-in-use-error-message-for-google-assistant-on-pi</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 00:11:46 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9847.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Feb 2019 15:09:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Address already in use error message for google assistant on Pi on Wed, 20 Feb 2019 16:54:37 GMT]]></title><description><![CDATA[<p dir="auto">Please use <a href="https://commonmark.org/help/" target="_blank" rel="noopener noreferrer nofollow ugc">the markdown features</a> of the board when posting code.</p>
]]></description><link>https://forum.magicmirror.builders/post/52849</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/52849</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Wed, 20 Feb 2019 16:54:37 GMT</pubDate></item></channel></rss>