shenzhiming88 发表于 2018-11-10 19:57:05

cuixiao603 发表于 2018-11-1 22:39
你这个是不是官改,之前有个兄弟是这个问题 梅林安装的python都是3.7

是官改。那请问怎么弄?

cuixiao603 发表于 2018-11-14 23:07:53

shenzhiming88 发表于 2018-11-10 19:57
是官改。那请问怎么弄?

官改我没搞过啊 但是官改 貌似论坛有教程的

Celeste 发表于 2018-11-23 23:08:55

最后一步chmod a+x start.sh提示chmod: start.sh: No such file or directory怎么办呢,就卡在这一步了

Celeste 发表于 2018-11-23 23:29:42

貌似好了,但是不会自启

wo877484402 发表于 2018-11-24 18:16:49

这个自动启动好像没什么用?

qwemnz 发表于 2018-12-26 09:00:06

一直显示OSError: Cannot allocate memory,hass配置文件夹是空的,严格按照步骤做了好几遍,请论坛大神们指导一下:(

tom663 发表于 2018-12-26 22:05:34

本帖最后由 tom663 于 2018-12-27 15:25 编辑

# pip3 install cffi
Collecting cffi
Downloading https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz (438kB)
    100% |################################| 440kB 17kB/s
Requirement already satisfied: pycparser in ./root/opt/lib/python3.6/site-packages (from cffi) (2.19)
Building wheels for collected packages: cffi
Building wheel for cffi failed: Read-only file system: '/.cache'
Failed to build cffi
Installing collected packages: cffi
Running setup.py install for cffi ... error
    Complete output from command /opt/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rc44zpvf/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-iw3h262m/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-3.6
    creating build/lib.linux-armv7l-3.6/cffi
    copying cffi/recompiler.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/verifier.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/__init__.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/lock.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/api.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/cparser.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/error.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/commontypes.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/model.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/_embedding.h -> build/lib.linux-armv7l-3.6/cffi
    copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.6/cffi
    warning: build_py: byte-compiling is disabled, skipping.

    running build_ext
    building '_cffi_backend' extension
    creating build/temp.linux-armv7l-3.6
    creating build/temp.linux-armv7l-3.6/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/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/include -I/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/usr/include -I/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/include -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/opt/include/python3.6 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.6/c/_cffi_backend.o
    arm-openwrt-linux-gnueabi-gcc -shared -L/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -L/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link=/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,--dynamic-linker=/opt/lib/ld-linux.so.3 -L/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/usr/lib -L/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/lib -L/media/ware4/Entware-ng.2017.12/build_dir/target-arm_cortex-a9_glibc-2.23_eabi/Python-3.6.2 -L/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -L/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link=/media/ware4/Entware-ng.2017.12/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,--dynamic-linker=/opt/lib/ld-linux.so.3 -L/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/usr/lib -L/media/ware4/Entware-ng.2017.12/staging_dir/toolchain-arm_cortex-a9_gcc-6.3.0_glibc-2.23_eabi/lib -L/media/ware4/Entware-ng.2017.12/build_dir/target-arm_cortex-a9_glibc-2.23_eabi/Python-3.6.2 build/temp.linux-armv7l-3.6/c/_cffi_backend.o -L/opt/lib -lffi -lpython3.6 -o build/lib.linux-armv7l-3.6/_cffi_backend.cpython-36.so
    /opt/bin/ld: cannot find -lffi
    collect2: error: ld returned 1 exit status
    error: command 'arm-openwrt-linux-gnueabi-gcc' failed with exit status 1

    ----------------------------------------
Command "/opt/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rc44zpvf/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-iw3h262m/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-rc44zpvf/cffi/


楼主帮看下是怎么回事!装了好多次都卡在这了!!

ysl708 发表于 2019-2-3 22:36:30

用起来怎么爽不爽?

gmshiwoge 发表于 2019-2-12 17:44:40

cuixiao603 发表于 2018-11-14 23:07
官改我没搞过啊 但是官改 貌似论坛有教程的

请问一下
pip3 install mutagen pycryptodome pyOpenSSL pyotp PyQRCode python-jose-cryptodome ua-parser user-agents warrant xmlto dict
是不是要运行 做到第九步运行hass 提示错误命令
/opt/lib/python3.7/site-packages/
没有homeassistant 文件夹

chl 发表于 2019-2-14 01:20:47

本帖最后由 chl 于 2019-2-14 01:21 编辑

安装到第六步出现如下错误

file:///C:/Users/chenh/Desktop/11111.png
Collecting bcrypt==3.1.5 (from homeassistant)
^[^AUsing cached https://files.pythonhosted.org/packages/91/a5/fd19eac0252e56b               4ce65ced937ae40024782c21108da7d830003b7f76cdb/bcrypt-3.1.5.tar.gz
Could not find a version that satisfies the requirement cffi>=1.1 (from versio               ns: )
No matching distribution found for cffi>=1.1
手动安装CFFI、GCC均无解。AC68U,梅林380.70_0-X7.9.1,望各位大佬指导一下

页: 1 2 3 4 5 6 7 8 [9] 10 11
查看完整版本: k3梅林安装hass教程