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

 找回密码
 立即注册
查看: 2579|回复: 2

[技术探讨] 小白win10配置HA出现未知错误

[复制链接]

4

主题

8

帖子

43

积分

新手上路

Rank: 1

积分
43
金钱
35
HASS币
0
发表于 2019-11-25 21:24:37 | 显示全部楼层 |阅读模式
2019-11-25 21:08:39 ERROR (MainThread) [homeassistant.setup] Error during setup of component http
Traceback (most recent call last):
  File "c:\program files\python35\lib\site-packages\homeassistant\setup.py", line 153, in _async_setup_component
    hass, processed_config)
  File "c:\program files\python35\lib\site-packages\homeassistant\components\http\__init__.py", line 171, in async_setup
    ssl_profile=ssl_profile,
  File "c:\program files\python35\lib\site-packages\homeassistant\components\http\__init__.py", line 223, in __init__
    setup_cors(app, cors_origins)
  File "c:\program files\python35\lib\site-packages\homeassistant\components\http\cors.py", line 18, in setup_cors
    import aiohttp_cors
ImportError: No module named 'aiohttp_cors'
2019-11-25 21:08:39 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_log. Setup failed for dependencies: http
2019-11-25 21:08:39 ERROR (MainThread) [homeassistant.setup] Setup failed for system_log: Could not set up all dependencies.
2019-11-25 21:10:58 ERROR (Thread-26) [homeassistant.util.package] Unable to install package sqlalchemy==1.3.5: ERROR: Exception:

Traceback (most recent call last):

  File "c:\program files\python35\lib\site-packages\pip\_vendor\urllib3\response.py", line 425, in _error_catcher

    yield

  File "c:\program files\python35\lib\site-packages\pip\_vendor\urllib3\response.py", line 507, in read

    data = self._fp.read(amt) if not fp_closed else b""

  File "c:\program files\python35\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 62, in read

    data = self.__fp.read(amt)

  File "c:\program files\python35\lib\http\client.py", line 448, in read

    n = self.readinto(b)

  File "c:\program files\python35\lib\http\client.py", line 488, in readinto

    n = self.fp.readinto(b)

  File "c:\program files\python35\lib\socket.py", line 576, in readinto

    return self._sock.recv_into(b)

  File "c:\program files\python35\lib\ssl.py", line 937, in recv_into

    return self.read(nbytes, buffer)

  File "c:\program files\python35\lib\ssl.py", line 799, in read

    return self._sslobj.read(len, buffer)

  File "c:\program files\python35\lib\ssl.py", line 583, in read

    v = self._sslobj.read(len, buffer)

socket.timeout: The read operation timed out



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

  File "c:\program files\python35\lib\site-packages\pip\_internal\cli\base_command.py", line 153, in _main

    status = self.run(options, args)

  File "c:\program files\python35\lib\site-packages\pip\_internal\commands\install.py", line 382, in run

    resolver.resolve(requirement_set)

  File "c:\program files\python35\lib\site-packages\pip\_internal\legacy_resolve.py", line 201, in resolve

    self._resolve_one(requirement_set, req)

  File "c:\program files\python35\lib\site-packages\pip\_internal\legacy_resolve.py", line 365, in _resolve_one

    abstract_dist = self._get_abstract_dist_for(req_to_install)

  File "c:\program files\python35\lib\site-packages\pip\_internal\legacy_resolve.py", line 313, in _get_abstract_dist_for

    req, self.session, self.finder, self.require_hashes

  File "c:\program files\python35\lib\site-packages\pip\_internal\operations\prepare.py", line 194, in prepare_linked_requirement

    progress_bar=self.progress_bar

  File "c:\program files\python35\lib\site-packages\pip\_internal\download.py", line 465, in unpack_url

    progress_bar=progress_bar

  File "c:\program files\python35\lib\site-packages\pip\_internal\download.py", line 316, in unpack_http_url

    progress_bar)

  File "c:\program files\python35\lib\site-packages\pip\_internal\download.py", line 551, in _download_http_url

    _download_url(resp, link, content_file, hashes, progress_bar)

  File "c:\program files\python35\lib\site-packages\pip\_internal\download.py", line 253, in _download_url

    hashes.check_against_chunks(downloaded_chunks)

  File "c:\program files\python35\lib\site-packages\pip\_internal\utils\hashes.py", line 80, in check_against_chunks

    for chunk in chunks:

  File "c:\program files\python35\lib\site-packages\pip\_internal\download.py", line 223, in written_chunks

    for chunk in chunks:

  File "c:\program files\python35\lib\site-packages\pip\_internal\download.py", line 212, in resp_read

    decode_content=False):

  File "c:\program files\python35\lib\site-packages\pip\_vendor\urllib3\response.py", line 564, in stream

    data = self.read(amt=amt, decode_content=decode_content)

  File "c:\program files\python35\lib\site-packages\pip\_vendor\urllib3\response.py", line 529, in read

    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)

  File "c:\program files\python35\lib\contextlib.py", line 77, in __exit__

    self.gen.throw(type, value, traceback)

  File "c:\program files\python35\lib\site-packages\pip\_vendor\urllib3\response.py", line 430, in _error_catcher

    raise ReadTimeoutError(self._pool, None, "Read timed out.")

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
2019-11-25 21:10:58 ERROR (MainThread) [homeassistant.requirements] Not initializing recorder because could not install requirement sqlalchemy==1.3.5
2019-11-25 21:10:58 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Could not install all requirements.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of tts. Setup failed for dependencies: http
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of auth. Setup failed for dependencies: http
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for auth: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of config. Setup failed for dependencies: http
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_health. Setup failed for dependencies: http
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for system_health: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: http, recorder
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of webhook. Setup failed for dependencies: http
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for webhook: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of websocket_api. Setup failed for dependencies: http
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of api. Setup failed for dependencies: http
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for api: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: auth, http
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: http, webhook
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of automation. Setup failed for dependencies: webhook
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for automation: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of cloud. Setup failed for dependencies: http, webhook
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of zeroconf. Setup failed for dependencies: api
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for zeroconf: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: api, auth, http, onboarding, system_log, websocket_api
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend, recorder
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2019-11-25 21:11:01 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2019-11-25 21:11:29 ERROR (MainThread) [homeassistant.config] Unable to import ssdp: No module named 'netdisco'
2019-11-25 21:11:29 ERROR (MainThread) [homeassistant.setup] Setup failed for ssdp: Invalid config.
2019-11-25 21:11:29 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: automation, cloud, config, frontend, history, logbook, map, mobile_app, ssdp, system_health, zeroconf
2019-11-25 21:11:29 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
捕获4.PNG 捕获.PNG

回复

使用道具 举报

27

主题

2143

帖子

8932

积分

论坛元老

Rank: 8Rank: 8

积分
8932
金钱
6784
HASS币
30

论坛元老

发表于 2019-11-25 21:40:57 | 显示全部楼层
用win跑拿来测试玩玩还凑合,你用win的话,打开hyper-v,虚拟机跑个ubuntu啥的比较稳
回复

使用道具 举报

1

主题

137

帖子

632

积分

论坛积极会员

积分
632
金钱
495
HASS币
0
发表于 2019-11-25 22:56:47 | 显示全部楼层
WIN10直接跑 CPU占用率很高的
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 14:30 , Processed in 0.103206 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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