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

 找回密码
 立即注册
查看: 2424|回复: 4

[求助] 新手求助,raspbian安装homeassistant报造轮子失败

[复制链接]

2

主题

90

帖子

1028

积分

金牌会员

Rank: 6Rank: 6

积分
1028
金钱
938
HASS币
0
发表于 2019-2-23 16:46:41 | 显示全部楼层 |阅读模式
硬件:树莓派3B+ RS版
软件:raspbian v.1.5.0 Autumn bump
已经follow大佬的教程更新了安装环境和依赖包
$ sudo apt-get update$ sudo apt-get upgrade -y$ sudo apt-get install python3 python3-venv python3-pip libffi-dev后来安装HA装了十来分钟就开始报错了
Failed building wheel for cryptography



compilation terminated.
    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

    ----------------------------------------
Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-rs0vfejz/cryptography/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-beli5iu0-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.5/cryptography" failed with error code 1 in /tmp/pip-build-rs0vfejz/cryptography/



劳烦哪位大佬再给指教一下,不甚感激


回复

使用道具 举报

0

主题

25

帖子

89

积分

注册会员

Rank: 2

积分
89
金钱
64
HASS币
0
发表于 2019-2-23 17:53:45 | 显示全部楼层
sudo apt-get install python3-dev


直接搜索
r: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

得到这2个:
https://blog.csdn.net/talkxin/article/details/52181650
https://stackoverflow.com/questi ... installing-eventlet

给出的都是
sudo apt-get install python3-dev
回复

使用道具 举报

2

主题

90

帖子

1028

积分

金牌会员

Rank: 6Rank: 6

积分
1028
金钱
938
HASS币
0
 楼主| 发表于 2019-2-25 14:47:56 | 显示全部楼层
zhhassbian 发表于 2019-2-23 17:53
直接搜索
得到这2个:
https ...

python3开发环境和依赖库位好像装过了。
我再重新试试。
非常感谢您的指点。
回复

使用道具 举报

2

主题

90

帖子

1028

积分

金牌会员

Rank: 6Rank: 6

积分
1028
金钱
938
HASS币
0
 楼主| 发表于 2019-2-25 15:31:40 | 显示全部楼层
zhhassbian 发表于 2019-2-23 17:53
直接搜索
得到这2个:
https ...

刚才试过了,依赖库和开发环境都装了,还是不行
还是卡在 Failed building wheel for cryptography

回复

使用道具 举报

0

主题

25

帖子

89

积分

注册会员

Rank: 2

积分
89
金钱
64
HASS币
0
发表于 2019-2-25 20:32:08 | 显示全部楼层
本帖最后由 zhhassbian 于 2019-2-25 20:34 编辑

有时候一些报错和网络环境有关,长宽害的我现在干脆就直接用HassOS 了,fq都卡,只能用移动网络f。
HassOS 一些配置方法安装方法在此。支持树莓派3b ,3b+的。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-19 20:45 , Processed in 0.049134 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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