『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 4632|回复: 2

[求助] 树莓派zero接入小米miio异常-求助

[复制链接]

1

主题

6

帖子

85

积分

注册会员

Rank: 2

积分
85
金钱
79
HASS币
0
发表于 2018-4-18 22:27:41 | 显示全部楼层 |阅读模式
如题,我使用的是树莓派Zero 安装的HA最新版本(0.67),想接入米家设备,启动homeassistant的时候 提示miio 初始化失败,具体日志如下,哪位遇到过,还望指教一下,如何解决,先谢谢啦。


Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-akzv7mqv/cffi/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-record-wqn37nl1/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-akzv7mqv/cffi/
pi@raspberrypi:~/.homeassistant $ 2018-04-18 22:17:13 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package python-miio==0.3.9: Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-na7ugf_0/cffi/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-record-ejgp2enp/install-record.txt --single-version-externally-managed --prefix  --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-na7ugf_0/cffi/
2018-04-18 22:17:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1524061033.978392, level=ERROR, message=Unable to install package python-miio==0.3.9: Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-na7ugf_0/cffi/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-record-ejgp2enp/install-record.txt --single-version-externally-managed --prefix  --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-na7ugf_0/cffi/, exception=, source=util/package.py>
2018-04-18 22:17:14 ERROR (MainThread) [homeassistant.requirements] Not initializing light.xiaomi_miio because could not install requirement python-miio==0.3.9
2018-04-18 22:17:14 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform light.xiaomi_miio: Could not install all requirements.
2018-04-18 22:17:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1524061034.0201015, level=ERROR, message=Not initializing light.xiaomi_miio because could not install requirement python-miio==0.3.9, exception=, source=requirements.py>
2018-04-18 22:17:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1524061034.0346768, level=ERROR, message=Unable to prepare setup for platform l

回复

使用道具 举报

1

主题

6

帖子

85

积分

注册会员

Rank: 2

积分
85
金钱
79
HASS币
0
 楼主| 发表于 2018-4-19 09:31:16 | 显示全部楼层
顶起,望各位高手给与指点,谢谢!
回复

使用道具 举报

3

主题

82

帖子

665

积分

论坛技术达人

积分
665
金钱
583
HASS币
0
发表于 2018-4-19 10:31:13 | 显示全部楼层
错误提示很明显啊 Not initializing light.xiaomi_miio because could not install requirement python-miio==0.3.9
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-24 02:00 , Processed in 0.145803 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表