core: Unable to install package home-assistant-frontend==20190626.0
2019-07-05 18:25:55 INFO (Thread-18) [homeassistant.loader] Loaded homekit_controller from homeassistant.components.homekit_controller
2019-07-05 18:26:36 ERROR (Thread-17) [homeassistant.util.package] Unable to install package home-assistant-frontend==20190626.0: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-j8z2l_gs/home-assistant-frontend/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-hud0orx7-record/install-record.txt --single-version-externally-managed --prefix --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-j8z2l_gs/home-assistant-frontend/
2019-07-05 18:26:36 ERROR (MainThread) [homeassistant.requirements] Not initializing frontend because could not install requirement home-assistant-frontend==20190626.0
2019-07-05 18:26:36 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not install all requirements.
2019-07-05 18:26:36 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2019-07-05 18:26:36 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2019-07-05 18:26:36 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2019-07-05 18:26:36 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2019-07-05 18:26:36 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: frontend, logbook, map
2019-07-05 18:26:36 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2019-07-05 18:26:36 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 54.08s
2019-07-05 18:26:36 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-07-05 18:26:36 INFO (MainThread) [homeassistant.core] Timer:starting
my problem is Unable to install package home-assistant-frontend==20190626.0
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 34 (8 by maintainers)
I had same issue, and installed manually.
wheelis a python package. Piwheels.org is a python module repository with the modules built on and for Raspberry Pis. They are completely different things 😃Of course.
I too realise the bug is closed, but it seems to still be an issue with images downloaded today (20190708) Should add I’m very new to hassbian but have had a little Linux experience so may be wide of the mark.
Digging into the process a bit further - its seems that the actual download is quietly failing mid way along resulting in an incomplete package download. The package of course then fails the checksum test.
By manually downloading the package in question;
$ wget https://www.piwheels.org/simple/home-assistant-frontend/home_assistant_frontend-20190626.0-py3-none-any.whlI was able to confirm the sha256sum to be correct;
and then to manually install with;
python3 -m pip install ./home_assistant_frontend-20190626.0-py3-none-any.whlmaking sure I’d run these previously;
to ensure that hass wasn’t running and to get into the correct environment etc.
Once the package installed, was able to exit to the pi user then start the service manually with
sudo service home-assistant@homeassistant stopThis -seems- to have got everything going, I hope this is of use.
I know this is closed, but I had the same issue. Caches are the bane of hass upgrades. Fixed by running
rm -rf ~/.cache/pip/wheels@eagleamon wow!
I tired following this official guide: https://www.home-assistant.io/docs/installation/raspberry-pi/ it works now.
thank you so much