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

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

k3梅林安装hass教程

  [复制链接]

10

主题

68

帖子

570

积分

高级会员

Rank: 4

积分
570
金钱
502
HASS币
0
发表于 2019-2-14 13:21:09 | 显示全部楼层
怎么查差什么 东西
我的报错
Command "/opt/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-6pj_z8zp/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-2urxyw3x/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-6pj_z8zp/cffi/

不知道差什么东西。百度上写的也不是很明白。
回复

使用道具 举报

0

主题

15

帖子

74

积分

注册会员

Rank: 2

积分
74
金钱
59
HASS币
0
发表于 2019-2-20 16:59:29 | 显示全部楼层
shenzhiming88 发表于 2018-10-26 18:14
这是怎么回事?python3-cffi和libffi已经安装了。是官改系统

解决 了没?或者找到教材了,我也是官改 弄不成  情况一样
回复

使用道具 举报

0

主题

15

帖子

74

积分

注册会员

Rank: 2

积分
74
金钱
59
HASS币
0
发表于 2019-2-20 17:38:50 | 显示全部楼层
chl 发表于 2019-2-14 01:20
安装到第六步出现如下错误

python3.7就卡这里  我用的3.6没问题  捉着你单独装==3.1.4版本都可以
回复

使用道具 举报

0

主题

15

帖子

74

积分

注册会员

Rank: 2

积分
74
金钱
59
HASS币
0
发表于 2019-2-20 17:40:33 | 显示全部楼层
colock 发表于 2019-2-14 13:21
怎么查差什么 东西
我的报错
Command "/opt/bin/python3 -u -c "import setuptools, tokenize;__file__='/t ...

解决了没  我也一样的问题
回复

使用道具 举报

0

主题

15

帖子

74

积分

注册会员

Rank: 2

积分
74
金钱
59
HASS币
0
发表于 2019-2-20 17:41:47 | 显示全部楼层
    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 -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
    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.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-64gm1ihb/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-hra4pboj-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-64gm1ihb/cffi/
    我的抱着个错误  弄了好久 各种方法都不行
回复

使用道具 举报

3

主题

66

帖子

563

积分

高级会员

Rank: 4

积分
563
金钱
497
HASS币
0
发表于 2019-3-15 10:14:38 | 显示全部楼层
本帖最后由 flashday 于 2019-3-15 11:21 编辑
  Could not find a version that satisfies the requirement cffi>=1.1 (from versions: )
No matching distribution found for cffi>=1.1
admin@R6300V2-43B2:/# pip3 list
Package      Version
------------ -------
asn1crypto   0.24.0
cffi         1.11.5
cryptography 2.4.2  
idna         2.7   
ply          3.11   
pycparser    2.19   
setuptools   40.8.0
six          1.11.0
admin@R6300V2-43B2:/# opkg install python3-cffi
Package python3-cffi (1.11.5-1) installed in root is up to date.


我也是跟cffi杠上了……明明有就是提示不行
回复

使用道具 举报

0

主题

28

帖子

69

积分

注册会员

Rank: 2

积分
69
金钱
41
HASS币
0
发表于 2019-5-25 08:46:41 | 显示全部楼层
学习学习
回复

使用道具 举报

0

主题

28

帖子

69

积分

注册会员

Rank: 2

积分
69
金钱
41
HASS币
0
发表于 2019-5-25 13:13:02 | 显示全部楼层
学习学习
回复

使用道具 举报

0

主题

18

帖子

59

积分

注册会员

Rank: 2

积分
59
金钱
41
HASS币
0
发表于 2019-6-4 15:03:53 | 显示全部楼层
这个不错,要支持一下
回复

使用道具 举报

3

主题

64

帖子

1597

积分

金牌会员

Rank: 6Rank: 6

积分
1597
金钱
1533
HASS币
0
发表于 2019-6-25 00:15:33 来自手机 | 显示全部楼层
重启,就不能用,怎么破
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-25 13:27 , Processed in 0.056187 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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