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

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

基于斐讯K3硬件和HomeAssistant软件打造免费的智能家居

  [复制链接]

0

主题

13

帖子

119

积分

注册会员

Rank: 2

积分
119
金钱
106
HASS币
0
发表于 2019-4-7 20:51:43 | 显示全部楼层
Exception:
Traceback (most recent call last):
  File "/opt/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/opt/lib/python3.6/site-packages/pip/commands/install.py", line 324, in run
    requirement_set.prepare_files(finder)
  File "/opt/lib/python3.6/site-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/opt/lib/python3.6/site-packages/pip/req/req_set.py", line 666, in _prepare_file
    check_dist_requires_python(dist)
  File "/opt/lib/python3.6/site-packages/pip/utils/packaging.py", line 48, in check_dist_requires_python
    feed_parser.feed(metadata)
  File "/feedparser.py", line 175, in feed
  File "/feedparser.py", line 103, in push
TypeError: string argument expected, got 'NoneType'
回复

使用道具 举报

0

主题

3

帖子

22

积分

新手上路

Rank: 1

积分
22
金钱
19
HASS币
0
发表于 2019-4-10 15:15:06 | 显示全部楼层
怎么装在U盘里面呢
回复

使用道具 举报

0

主题

28

帖子

69

积分

注册会员

Rank: 2

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

使用道具 举报

0

主题

28

帖子

69

积分

注册会员

Rank: 2

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

使用道具 举报

0

主题

18

帖子

59

积分

注册会员

Rank: 2

积分
59
金钱
41
HASS币
0
发表于 2019-6-4 13:59:30 | 显示全部楼层
已经按照教程安装上去了,下面就是如何添加我的体脂称了
回复

使用道具 举报

0

主题

20

帖子

60

积分

注册会员

Rank: 2

积分
60
金钱
40
HASS币
0
发表于 2019-6-10 23:02:20 | 显示全部楼层
正好有闲置的K3
回复

使用道具 举报

1

主题

8

帖子

73

积分

注册会员

Rank: 2

积分
73
金钱
65
HASS币
0
发表于 2019-8-3 13:37:55 | 显示全部楼层

学习学习学习学习
回复

使用道具 举报

3

主题

102

帖子

1054

积分

金牌会员

Rank: 6Rank: 6

积分
1054
金钱
952
HASS币
0
发表于 2019-9-12 14:50:09 | 显示全部楼层
pip3运行不了,提示-sh: pip3: not found,请问各位要怎样解决呢?
回复

使用道具 举报

0

主题

19

帖子

57

积分

注册会员

Rank: 2

积分
57
金钱
38
HASS币
0
发表于 2019-10-6 18:40:10 | 显示全部楼层
pip3: not found  又遇到的吗?
回复

使用道具 举报

0

主题

13

帖子

119

积分

注册会员

Rank: 2

积分
119
金钱
106
HASS币
0
发表于 2019-10-8 00:29:06 | 显示全部楼层
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
[K3 ~]#
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-20 11:35 , Processed in 0.063210 second(s), 36 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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