2021-06-21 23:14:46 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //data/data/com.termux/files/home/.homeassistant/home-assistant_v2.db was shutdown cleanly
2021-06-21 23:14:47 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: cannot import name '_imaging' from 'PIL' (/data/data/com.termux/files/home/homeassistant/lib/python3.9/site-packages/PIL/__init__.py)
2021-06-21 23:14:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2021-06-21 23:14:47 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
2021-06-21 23:14:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2021-06-21 23:14:47 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
2021-06-21 23:14:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2021-06-21 23:14:47 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2021-06-21 23:14:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of my. Setup failed for dependencies: frontend
2021-06-21 23:14:49 ERROR (MainThread) [homeassistant.setup] Setup failed for my: Could not set up all dependencies.
2021-06-21 23:14:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2021-06-21 23:14:49 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2021-06-21 23:14:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2021-06-21 23:14:49 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2021-06-21 23:14:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: person
2021-06-21 23:14:49 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Could not set up all dependencies.
2021-06-21 23:16:04 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: zeroconf
2021-06-21 23:16:52 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: dhcp, frontend, logbook, map, mobile_app, my, person
2021-06-21 23:16:52 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2021-06-21 23:16:52 WARNING (MainThread) [homeassistant.bootstrap] Detected that frontend did not load. Activating safe mode
2021-06-21 23:16:53 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: cannot import name '_imaging' from 'PIL' (/data/data/com.termux/files/home/homeassistant/lib/python3.9/site-packages/PIL/__init__.py)
2021-06-21 23:16:53 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2021-06-21 23:16:53 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
2021-06-21 23:16:53 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2021-06-21 23:16:53 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
2021-06-21 23:16:53 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2021-06-21 23:16:53 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2021-06-21 23:16:53 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of safe_mode. Setup failed for dependencies: frontend
2021-06-21 23:16:53 ERROR (MainThread) [homeassistant.setup] Setup failed for safe_mode: Could not set up all dependencies.
^C(homeassistant) ~ $ ^C
(homeassistant) ~ $ from PIL import _imaging
No command from found, did you mean:
Command frob in package frobtads
(homeassistant) ~ $ hass
2021-06-21 23:30:03 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //data/data/com.termux/files/home/.homeassistant/home-assistant_v2.db was shutdown cleanly
2021-06-21 23:30:04 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: cannot import name '_imaging' from 'PIL' (/data/data/com.termux/files/home/homeassistant/lib/python3.9/site-packages/PIL/__init__.py)
2021-06-21 23:30:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2021-06-21 23:30:04 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
2021-06-21 23:30:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2021-06-21 23:30:04 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
2021-06-21 23:30:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2021-06-21 23:30:04 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2021-06-21 23:30:07 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2021-06-21 23:30:07 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2021-06-21 23:30:07 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of my. Setup failed for dependencies: frontend
2021-06-21 23:30:07 ERROR (MainThread) [homeassistant.setup] Setup failed for my: Could not set up all dependencies.
2021-06-21 23:30:07 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2021-06-21 23:30:07 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2021-06-21 23:30:08 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: person
2021-06-21 23:30:08 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Could not set up all dependencies.
2021-06-21 23:30:08 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: dhcp, frontend, logbook, map, mobile_app, my, person
2021-06-21 23:30:08 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2021-06-21 23:30:08 WARNING (MainThread) [homeassistant.bootstrap] Detected that frontend did not load. Activating safe mode
2021-06-21 23:30:09 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: cannot import name '_imaging' from 'PIL' (/data/data/com.termux/files/home/homeassistant/lib/python3.9/site-packages/PIL/__init__.py)
2021-06-21 23:30:09 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
2021-06-21 23:30:09 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
2021-06-21 23:30:09 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
2021-06-21 23:30:09 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
2021-06-21 23:30:09 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
2021-06-21 23:30:09 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2021-06-21 23:30:09 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of safe_mode. Setup failed for dependencies: frontend
2021-06-21 23:30:09 ERROR (MainThread) [homeassistant.setup] Setup failed for safe_mode: Could not set up all dependencies.
^C(homeassistant) ~ $ ^C
复制代码
我的理解是由于第一个报错导致后面的都无法进行下去
(homeassistant) ~ $ hass
2021-06-21 23:14:46 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //data/data/com.termux/files/home/.homeassistant/home-assistant_v2.db was shutdown cleanly
2021-06-21 23:14:47 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: cannot import name '_imaging' from 'PIL' (/data/data/com.termux/files/home/homeassistant/lib/python3.9/site-packages/PIL/__init__.py)
复制代码
cannot import name '_imaging' from 'PIL'
搜索很久都没有找到解决方案,希望大神能够解答。拜谢!! 作者: csphhing 时间: 2021-6-22 21:55 本帖最后由 csphhing 于 2021-6-25 00:34 编辑
Using legacy 'setup.py install' for pillow, since package 'wheel' is not installed.
Installing collected packages: pillow
Running setup.py install for pillow ... done
Successfully installed pillow-8.1.2
复制代码
作者: homemaster 时间: 2021-6-22 22:23
我安装完后,注册成功,但设置位置时一直报错,不知道为啥,题主遇到了没?
2021-06-22 21:59:41 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [500572089312] Error handling message: Invalid time zone passed in. Valid options can be found here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones for dictionary value @ data['time_zone']. Got 'America/Denver'
2021-06-22 21:59:52 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [500572089312] Error handling message: Invalid time zone passed in. Valid options can be found here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones for dictionary value @ data['time_zone']. Got 'Asia/Shanghai' 作者: csphhing 时间: 2021-6-23 09:55
我也有这个报错,问题不在网页上看,要看后台报错代码:Unable to set up dependencies of default_config
但我也不知道怎么解决。作者: ericccc 时间: 2021-6-29 09:36
在6月初升級到6.2板就出現這個問題了,到官方論壇反映也沒得到回覆...希望重版友們可以一起去官方討論區反映 https://community.home-assistant ... sistant-core/307942