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

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

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

[复制链接]

9

主题

95

帖子

470

积分

中级会员

Rank: 3Rank: 3

积分
470
金钱
375
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

主题

42

帖子

2200

积分

金牌会员

Rank: 6Rank: 6

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

使用道具 举报

7

主题

125

帖子

620

积分

高级会员

Rank: 4

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

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-29 02:07 , Processed in 0.049828 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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