请选择 进入手机版 | 继续访问电脑版

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

 找回密码
 立即注册
楼主: cuixiao603

k3梅林安装hass教程

  [复制链接]

0

主题

19

帖子

57

积分

注册会员

Rank: 2

积分
57
金钱
38
HASS币
0
发表于 2019-10-5 01:24:09 | 显示全部楼层
正好需要,感谢
回复

使用道具 举报

0

主题

13

帖子

119

积分

注册会员

Rank: 2

积分
119
金钱
106
HASS币
0
发表于 2019-10-8 00:35:16 | 显示全部楼层
[K3 ~]# pip3 install homeassistant
Collecting homeassistant
  Downloading https://files.pythonhosted.org/p ... .3-py3-none-any.whl (5.3MB)
    100% |████████████████████████████████| 5.3MB 35kB/s
Collecting attrs==19.1.0 (from homeassistant)
  Downloading https://files.pythonhosted.org/p ... y2.py3-none-any.whl
Collecting bcrypt==3.1.7 (from homeassistant)
  Downloading https://files.pythonhosted.org/p ... bcrypt-3.1.7.tar.gz (42kB)
    100% |████████████████████████████████| 51kB 45kB/s
  Installing build dependencies ... error
  Complete output from command /opt/bin/python3 /opt/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-3rxc6vyk/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.8.0 wheel "cffi>=1.1; python_implementation != 'PyPy'":
  Collecting setuptools>=40.8.0
    Downloading https://files.pythonhosted.org/p ... y2.py3-none-any.whl (580kB)
  Collecting wheel
    Downloading https://files.pythonhosted.org/p ... y2.py3-none-any.whl
  Collecting cffi>=1.1
    Downloading https://files.pythonhosted.org/p ... /cffi-1.12.3.tar.gz (456kB)
  Collecting pycparser (from cffi>=1.1)
    Downloading https://files.pythonhosted.org/p ... cparser-2.19.tar.gz (158kB)
  Installing collected packages: setuptools, wheel, pycparser, cffi
    Running setup.py install for pycparser: started
      Running setup.py install for pycparser: finished with status 'done'
    Running setup.py install for cffi: started
      Running setup.py install for cffi: finished with status 'error'
      Complete output from command /opt/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-hnsu5ws0/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-v_v7qwzx/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-3rxc6vyk/overlay --compile:
      unable to execute 'arm-openwrt-linux-gnueabi-gcc': No such file or directory
      unable to execute 'arm-openwrt-linux-gnueabi-gcc': No such file or directory

          No working compiler found, or bogus compiler options passed to
          the compiler from Python's standard "distutils" module.  See
          the error messages above.  Likely, the problem is not related
          to CFFI but generic to the setup.py of any Python package that
          tries to compile C code.  (Hints: on OS/X 10.8, for errors about
          -mno-fused-madd see http://stackoverflow.com/questions/22313407/
          Otherwise, see https://wiki.python.org/moin/CompLangPython or
          the IRC channel #python on irc.freenode.net.)

          Trying to continue anyway.  If you are trying to install CFFI from
          a build done in a different context, you can ignore this warning.

      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-3.7
      creating build/lib.linux-armv7l-3.7/cffi
      copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
      warning: build_py: byte-compiling is disabled, skipping.

      running build_ext
      building '_cffi_backend' extension
      creating build/temp.linux-armv7l-3.7
      creating build/temp.linux-armv7l-3.7/c
      arm-openwrt-linux-gnueabi-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -DNDEBUG -fno-inline -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -DNDEBUG -fno-inline -I/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/media/ware/Entware.2019.10/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.23_eabi/include -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/opt/include/python3.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
      unable to execute 'arm-openwrt-linux-gnueabi-gcc': No such file or directory
      error: command 'arm-openwrt-linux-gnueabi-gcc' failed with exit status 1

      ----------------------------------------
  Command "/opt/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-hnsu5ws0/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-v_v7qwzx/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-3rxc6vyk/overlay --compile" failed with error code 1 in /tmp/pip-install-hnsu5ws0/cffi/

  ----------------------------------------
Command "/opt/bin/python3 /opt/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-3rxc6vyk/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.8.0 wheel "cffi>=1.1; python_implementation != 'PyPy'"" failed with error code 1 in None
回复

使用道具 举报

1

主题

42

帖子

359

积分

中级会员

Rank: 3Rank: 3

积分
359
金钱
317
HASS币
0
发表于 2019-11-10 18:37:27 | 显示全部楼层
Could not install packages due to an EnvironmentError: [Errno 28] No space left on device

You are using pip version 19.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
zhupan@RT-AC3100:/#
zhupan@RT-AC3100:/# python3 -m pip install homeassistant
Collecting homeassistant
  Using cached https://files.pythonhosted.org/p ... .3-py3-none-any.whl
Could not install packages due to an EnvironmentError: [Errno 28] No space left on device

You are using pip version 19.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
zhupan@RT-AC3100:/#
总是空间不足
回复

使用道具 举报

0

主题

10

帖子

31

积分

新手上路

Rank: 1

积分
31
金钱
21
HASS币
0
发表于 2019-12-14 10:41:28 | 显示全部楼层
支持,必须支持。顶上去……
回复

使用道具 举报

0

主题

3

帖子

17

积分

新手上路

Rank: 1

积分
17
金钱
14
HASS币
0
发表于 2020-3-7 11:22:52 | 显示全部楼层
希望官改也能好好装
回复

使用道具 举报

0

主题

3

帖子

24

积分

新手上路

Rank: 1

积分
24
金钱
21
HASS币
0
发表于 2020-10-5 23:00:46 | 显示全部楼层
感谢分享
回复

使用道具 举报

1

主题

21

帖子

133

积分

注册会员

Rank: 2

积分
133
金钱
112
HASS币
0
发表于 2022-2-8 20:17:49 | 显示全部楼层
现在还可以用么
回复

使用道具 举报

0

主题

2

帖子

18

积分

新手上路

Rank: 1

积分
18
金钱
16
HASS币
0
发表于 2023-2-22 10:13:37 | 显示全部楼层
马克一个。快5年了不知道对我还能有多大帮助
回复

使用道具 举报

0

主题

24

帖子

173

积分

注册会员

Rank: 2

积分
173
金钱
149
HASS币
0
发表于 2023-2-22 11:12:14 | 显示全部楼层
前段时间入手的K3想把这HA集成进去,找了好久没找到教程,张大妈看到梅林的安装教程,但是K3的说是不支持。后来在MACmini主机上安装了,今天竟然这里看到了
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-3-29 18:12 , Processed in 0.078648 second(s), 35 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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