colock 发表于 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/

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

nankun512 发表于 2019-2-20 16:59:29

shenzhiming88 发表于 2018-10-26 18:14
这是怎么回事?python3-cffi和libffi已经安装了。是官改系统

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

nankun512 发表于 2019-2-20 17:38:50

chl 发表于 2019-2-14 01:20
安装到第六步出现如下错误




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

nankun512 发表于 2019-2-20 17:40:33

colock 发表于 2019-2-14 13:21
怎么查差什么 东西
我的报错
Command "/opt/bin/python3 -u -c "import setuptools, tokenize;__file__='/t ...

解决了没我也一样的问题

nankun512 发表于 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/
    我的抱着个错误弄了好久 各种方法都不行

flashday 发表于 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杠上了……明明有就是提示不行

cyqlsj 发表于 2019-5-25 08:46:41

学习学习

cyqlsj 发表于 2019-5-25 13:13:02

学习学习

roberto2001 发表于 2019-6-4 15:03:53

这个不错,要支持一下

diamond 发表于 2019-6-25 00:15:33

重启,就不能用,怎么破
页: 1 2 3 4 5 6 7 8 9 [10] 11
查看完整版本: k3梅林安装hass教程