找回密码
 立即注册
搜索
查看: 4726|回复: 2

[求助] 添加小米网关出错,求解决办法。

[复制链接]

9

主题

86

回帖

474

积分

中级会员

积分
474
金钱
379
HASS币
0
发表于 2018-7-10 12:14:17 | 显示全部楼层 |阅读模式
系统 ubuntu 18.04, python3.6.5,homeassistant0.73.1
加载小米网关时候提示
2018-07-10 12:05:16 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package PyXiaomiGateway==0.9.5: Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-9zanfmyn/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-8l9l8qse/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.6/cffi" failed with error code 1 in /tmp/pip-install-9zanfmyn/cffi/

这是什么原因,怎么解决?
回复

使用道具 举报

1

主题

41

回帖

2200

积分

金牌会员

积分
2200
金钱
2158
HASS币
0
发表于 2018-7-29 12:47:55 | 显示全部楼层
我也一样,请问楼主解决了没有?
回复

使用道具 举报

7

主题

118

回帖

622

积分

高级会员

积分
622
金钱
492
HASS币
20
发表于 2018-7-29 15:49:55 | 显示全部楼层
安装这个试试  pip3 install PyXiaomiGateway==0.9.5 -i https://pypi.tuna.tsinghua.edu.cn/simple
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-6-25 22:48 , Processed in 0.134651 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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