|
发表于 2019-6-3 12:59:37
|
显示全部楼层
請教各英雄, 文件放置位置已跟要求, 但仍然報錯, 求各英雄幫忙。。。謝謝!!
2019-06-03 12:38:29 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.media_player.airplayer. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/src/app/homeassistant/loader.py", line 166, in _load_file
module = importlib.import_module(path)
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/media_player/airplayer.py", line 10, in <module>
from homeassistant.components.media_player import (
ImportError: cannot import name 'SUPPORT_TURN_OFF' from 'homeassistant.components.media_player' (/usr/src/app/homeassistant/components/media_player/__init__.py)
2019-06-03 12:38:29 ERROR (MainThread) [homeassistant.loader] Unable to find platform airplayer.
2019-06-03 12:38:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform airplayer.media_player: Platform not found.
2019-06-03 12:38:29 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.media_player.airplayer. Make sure all dependencies are installed
Traceback (most recent call last):
|
-
-
|