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

 找回密码
 立即注册
楼主:

[基础教程] (20180630更新)Ubuntu安装HomeAssistant教程(ubuntu17.10无坑版)

  [复制链接]

0

主题

6

帖子

59

积分

注册会员

Rank: 2

积分
59
金钱
53
HASS币
0
发表于 2019-12-18 16:55:53 | 显示全部楼层
ERROR: Command errored out with exit status 1:
   command: /srv/homeassistant/homeassistant_venv/bin/python3 /srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpi8_q5muz
       cwd: /tmp/pip-install-o6iizguk/cryptography
  Complete output (137 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-i686-3.6
  creating build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/exceptions.py -> build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/__init__.py -> build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-i686-3.6/cryptography
  copying src/cryptography/__about__.py -> build/lib.linux-i686-3.6/cryptography
  creating build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/oid.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/name.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/extensions.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/base.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/__init__.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/general_name.py -> build/lib.linux-i686-3.6/cryptography/x509
  copying src/cryptography/x509/ocsp.py -> build/lib.linux-i686-3.6/cryptography/x509
  creating build/lib.linux-i686-3.6/cryptography/hazmat
  copying src/cryptography/hazmat/_der.py -> build/lib.linux-i686-3.6/cryptography/hazmat
  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat
  copying src/cryptography/hazmat/_oid.py -> build/lib.linux-i686-3.6/cryptography/hazmat
  creating build/lib.linux-i686-3.6/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/bindings
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives
  creating build/lib.linux-i686-3.6/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends
  creating build/lib.linux-i686-3.6/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-i686-3.6/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-i686-3.6/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/bindings/openssl
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/asymmetric
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/serialization
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/kdf
  creating build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-i686-3.6/cryptography/hazmat/primitives/twofactor
  creating build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-i686-3.6/cryptography/hazmat/backends/openssl
  running egg_info
  writing src/cryptography.egg-info/PKG-INFO
  writing dependency_links to src/cryptography.egg-info/dependency_links.txt
  writing requirements to src/cryptography.egg-info/requires.txt
  writing top-level names to src/cryptography.egg-info/top_level.txt
  reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files found matching 'vectors'
  warning: no previously-included files matching '*' found under directory 'vectors'
  warning: no previously-included files found matching 'azure-pipelines.yml'
  warning: no previously-included files found matching '.azure-pipelines'
  warning: no previously-included files found matching '.travis.yml'
  warning: no previously-included files found matching '.travis'
  warning: no previously-included files matching '*' found under directory '.azure-pipelines'
  warning: no previously-included files matching '*' found under directory '.travis'
  warning: no previously-included files found matching 'release.py'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files found matching 'dev-requirements.txt'
  warning: no previously-included files found matching 'rtd-requirements.txt'
  warning: no previously-included files found matching 'tox.ini'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  running build_ext
  generating cffi module 'build/temp.linux-i686-3.6/_padding.c'
  creating build/temp.linux-i686-3.6
  generating cffi module 'build/temp.linux-i686-3.6/_constant_time.c'
  generating cffi module 'build/temp.linux-i686-3.6/_openssl.c'
  building '_openssl' extension
  creating build/temp.linux-i686-3.6/build
  creating build/temp.linux-i686-3.6/build/temp.linux-i686-3.6
  i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/srv/homeassistant/homeassistant_venv/include -I/usr/include/python3.6m -c build/temp.linux-i686-3.6/_openssl.c -o build/temp.linux-i686-3.6/build/temp.linux-i686-3.6/_openssl.o -Wconversion -Wno-error=sign-conversion
  build/temp.linux-i686-3.6/_openssl.c:498:10: fatal error: openssl/opensslv.h: No such file or directory
   #include <openssl/opensslv.h>
            ^~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  error: command 'i686-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for cryptography
  Running setup.py clean for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
回复

使用道具 举报

2

主题

39

帖子

172

积分

注册会员

Rank: 2

积分
172
金钱
133
HASS币
0
发表于 2020-2-1 00:04:37 | 显示全部楼层
请教  esxi ubuntu server19.4版HomeAssistant安装教程
回复

使用道具 举报

0

主题

6

帖子

26

积分

新手上路

Rank: 1

积分
26
金钱
20
HASS币
0
发表于 2020-3-26 21:33:44 | 显示全部楼层
写的很详细,学习了,谢谢分享
回复

使用道具 举报

0

主题

19

帖子

84

积分

注册会员

Rank: 2

积分
84
金钱
65
HASS币
0
发表于 2020-5-1 11:01:29 | 显示全部楼层
想请教一下已经安装完成启动了,查看状态也正常,为什么通过IP地址加8123无法通过浏览器查看呢?

[email protected] - Home Assistant
   Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-05-01 10:40:35 CST; 11min ago
 Main PID: 11263 (hass)
    Tasks: 21 (limit: 4313)
   CGroup: /system.slice/system-home\x2dassistant.slice/[email protected]
           └─11263 /srv/homeassistant/homeassistant_venv/bin/python3 /srv/homeassistant/homeassistant_venv/bin/hass -c /home/homeassistant/.homeassistant

5月 01 10:40:40 water-virtual-machine hass[11263]: 2020-05-01 10:40:40 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds.
5月 01 10:40:40 water-virtual-machine hass[11263]: 2020-05-01 10:40:40 INFO (MainThread) [homeassistant.setup] Setting up logbook
5月 01 10:40:40 water-virtual-machine hass[11263]: 2020-05-01 10:40:40 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
5月 01 10:40:40 water-virtual-machine hass[11263]: 2020-05-01 10:40:40 INFO (MainThread) [homeassistant.setup] Setting up default_config
5月 01 10:40:40 water-virtual-machine hass[11263]: 2020-05-01 10:40:40 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.0 seconds.
5月 01 10:40:42 water-virtual-machine hass[11263]: 2020-05-01 10:40:42 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 5.77s
5月 01 10:40:42 water-virtual-machine hass[11263]: 2020-05-01 10:40:42 WARNING (MainThread) [homeassistant.bootstrap] Python 3.6 support is deprecated and will 
5月 01 10:40:42 water-virtual-machine hass[11263]: 2020-05-01 10:40:42 INFO (MainThread) [homeassistant.core] Starting Home Assistant
5月 01 10:40:42 water-virtual-machine hass[11263]: 2020-05-01 10:40:42 INFO (SyncWorker_3) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
5月 01 10:40:42 water-virtual-machine hass[11263]: 2020-05-01 10:40:42 INFO (MainThread) [homeassistant.core] Timer:starting


直接ping这个地址也ping不通。
/$ ping 192.168.1.104:8123
ping: 192.168.1.104:8123: Name or service not known

回复

使用道具 举报

0

主题

6

帖子

82

积分

注册会员

Rank: 2

积分
82
金钱
76
HASS币
0
发表于 2020-9-24 14:24:52 | 显示全部楼层
Ubuntu 20.04.1 LTS 版本系统。按照楼主的步骤顺利完成安装。
回复

使用道具 举报

0

主题

62

帖子

180

积分

注册会员

Rank: 2

积分
180
金钱
118
HASS币
0
发表于 2021-4-16 15:48:04 | 显示全部楼层
谢谢分享
回复

使用道具 举报

0

主题

2

帖子

24

积分

新手上路

Rank: 1

积分
24
金钱
22
HASS币
0
发表于 2021-7-2 08:55:57 | 显示全部楼层
坑死人啊
不行了
回复

使用道具 举报

0

主题

19

帖子

88

积分

注册会员

Rank: 2

积分
88
金钱
69
HASS币
0
发表于 2024-2-1 17:10:33 | 显示全部楼层
好东西,学习
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-24 22:38 , Processed in 0.056885 second(s), 34 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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