cianfox
发表于 2019-10-5 01:24:09
正好需要,感谢
百里洪
发表于 2019-10-8 00:35:16
# pip3 install homeassistant
Collecting homeassistant
Downloading https://files.pythonhosted.org/packages/d3/36/99d79afd31a80425e4f29787cba51a73a19255db4a55eb110a09f9cec2a9/homeassistant-0.99.3-py3-none-any.whl (5.3MB)
100% |████████████████████████████████| 5.3MB 35kB/s
Collecting attrs==19.1.0 (from homeassistant)
Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting bcrypt==3.1.7 (from homeassistant)
Downloading https://files.pythonhosted.org/packages/fa/aa/025a3ab62469b5167bc397837c9ffc486c42a97ef12ceaa6699d8f5a5416/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/packages/6a/9a/50fadfd53ec909e4399b67c74cc7f4e883488035cfcdb90b685758fa8b34/setuptools-41.4.0-py2.py3-none-any.whl (580kB)
Collecting wheel
Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Collecting cffi>=1.1
Downloading https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz (456kB)
Collecting pycparser (from cffi>=1.1)
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-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
455653128
发表于 2019-11-10 18:37:27
Could not install packages due to an EnvironmentError: 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/packages/1e/7d/8f30ef28ae18dca4697bf11ddb55dd5c6f2c06792734db8093a210c605b1/homeassistant-0.101.3-py3-none-any.whl
Could not install packages due to an EnvironmentError: 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:/#
总是空间不足
jackywow
发表于 2019-12-14 10:41:28
支持,必须支持。顶上去……
feong
发表于 2020-3-7 11:22:52
希望官改也能好好装
贾斯汀哔哔
发表于 2020-10-5 23:00:46
感谢分享
17780659915
发表于 2022-2-8 20:17:49
现在还可以用么
callmeglasses
发表于 2023-2-22 10:13:37
马克一个。快5年了不知道对我还能有多大帮助
turf
发表于 2023-2-22 11:12:14
前段时间入手的K3想把这HA集成进去,找了好久没找到教程,张大妈看到梅林的安装教程,但是K3的说是不支持。后来在MACmini主机上安装了,今天竟然这里看到了:dizzy::dizzy::dizzy:
页:
1
2
3
4
5
6
7
8
9
10
[11]