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

标题: 新手求助,raspbian安装homeassistant报造轮子失败 [打印本页]

作者: froyo    时间: 2019-2-23 16:46
标题: 新手求助,raspbian安装homeassistant报造轮子失败
硬件:树莓派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/



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



作者: zhhassbian    时间: 2019-2-23 17:53
  1. 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

给出的都是
  1. sudo apt-get install python3-dev
复制代码

作者: froyo    时间: 2019-2-25 14:47
zhhassbian 发表于 2019-2-23 17:53
直接搜索
得到这2个:
https ...

python3开发环境和依赖库位好像装过了。
我再重新试试。
非常感谢您的指点。
作者: froyo    时间: 2019-2-25 15:31
zhhassbian 发表于 2019-2-23 17:53
直接搜索
得到这2个:
https ...

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


作者: zhhassbian    时间: 2019-2-25 20:32
本帖最后由 zhhassbian 于 2019-2-25 20:34 编辑

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




欢迎光临 『瀚思彼岸』» 智能家居技术论坛 (https://bbs.hassbian.com/) Powered by Discuz! X3.5