2019-12-18 12:53:55 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Unable to import component
2019-12-18 12:53:57 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component
2019-12-18 12:53:58 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app:
The error shows below:
Unable to import component
2019-12-18 12:53:58 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: recorder
2019-12-18 12:53:58 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.
2019-12-18 12:53:58 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: recorder
2019-12-18 12:53:58 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2019-12-18 12:53:58 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: cloud, history, logbook, mobile_app
2019-12-18 12:53:58 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
Even reboot sevarl time, but still show this error.
@admChenYunf Please use and fill in the issue template provided when you create an issue. Thanks 馃憤
@admChenYunf did you compile Python from source? Then Sqlite support is missing.
did you compile Python from source? Then Sqlite support is missing.
This was my issue. On Debian 9 with Python 3.5 via apt, I installed Python 3.7 by compiling - and then could not set up a new HA setup in a venv under that environment. Had to recompile Python with SQLite support, this SA post and the answer from wukong got me pointed in the right direction: https://stackoverflow.com/questions/18750886/missing-sqlite3-after-python3-compile/57480189#57480189
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
@admChenYunf did you compile Python from source? Then Sqlite support is missing.