question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setup failed for google_home: Requirements for google_home not found: ['glocaltokens==0.4.0']

See original GitHub issue

Updated both HA Core and Google Home HA integration and it can no longer boot due to Setup failed for google_home: Requirements for google_home not found: [‘glocaltokens==0.4.0’]

Tried to install it manually via pip inside the container but Alpine doesn’t include ‘cc’, so it can’t compile grpcio-tools package.

Version of the integration

If you are unsure about the version check the github release here.

1.7.0

Home assistant version: core-2021.9.0.dev20210820

Logs

bash-5.1# pip install glocaltokens==0.4.0
Collecting glocaltokens==0.4.0
  Using cached glocaltokens-0.4.0-py3-none-any.whl (36 kB)
Collecting zeroconf<0.30.0,>=0.28.8
  Using cached zeroconf-0.29.0-py3-none-any.whl (55 kB)
Collecting gpsoauth<2.0.0,>=1.0.0
  Downloading gpsoauth-1.0.0-py3-none-any.whl (6.4 kB)
Requirement already satisfied: grpcio==1.31.0 in /usr/local/lib/python3.9/site-packages (from glocaltokens==0.4.0) (1.31.0)
Requirement already satisfied: requests<3.0.0,>=2.25.1 in /usr/local/lib/python3.9/site-packages (from glocaltokens==0.4.0) (2.25.1)
Requirement already satisfied: simplejson<4.0.0,>=3.17.2 in /usr/local/lib/python3.9/site-packages (from glocaltokens==0.4.0) (3.17.3)
Collecting grpcio-tools==1.31.0
  Using cached grpcio-tools-1.31.0.tar.gz (2.1 MB)
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w3k_gg1z/grpcio-tools/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w3k_gg1z/grpcio-tools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-qf1o69xp
         cwd: /tmp/pip-install-w3k_gg1z/grpcio-tools/
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-w3k_gg1z/grpcio-tools/setup.py", line 112, in <module>
        if check_linker_need_libatomic():
      File "/tmp/pip-install-w3k_gg1z/grpcio-tools/setup.py", line 73, in check_linker_need_libatomic
        cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'],
      File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 'cc'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:25 (10 by maintainers)

github_iconTop GitHub Comments

4reactions
Morphy99commented, Nov 2, 2021

I believe this is the same issue I’m having with HA on docker ARM64. I followed these instructions which worked for me.

2reactions
Morphy99commented, Nov 4, 2021

Do I understand this right, I have to do this every time the container is restarted?

No, just when you pull a new image (update)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Home app can't find Wifi devices
Google Home app can't find Wifi devices · Close the Google Home app , then try setup again. · If you're using an...
Read more >
Google Home connection problems: 3 common issues and ...
Here's what I've done to troubleshoot (and fix) a Google Home that just won't connect or stay connected. Problem: 'Could not communicate' setup...
Read more >
Get started with Cloud-to-cloud
Get started with adding Cloud-to-cloud support to a device and integrating it into the Google Home ecosystem.
Read more >
Google Home – Apps on Google Play
Set up, manage, and control your Google Nest, Google Wifi, Google Home, and Chromecast devices, plus thousands of compatible connected home products like ......
Read more >
How to Fix a Google Home That Won't Connect to Wi-Fi
We'll help you troubleshoot the issue and get your Google Home back up to speed with a working internet connection.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found