乐鑫技术交流
直播中

徐胤

8年用户 1144经验值
私信 关注
[问答]

基于matter协议开发,搭建环境时报错要如何解决?

你们好 我想问一下

我想基于matter协议开发ESP-32   参考:https://docs.espressif.com/projects/esp ... oping.html

按照上面的参考步骤,搭建环境。

在获取依赖:

cd esp-matter

./install.sh

出现下面的问题,不知道该怎么解决,问题如下:

./install.sh



Running Matter Setup





  WELCOME TO...



         █

         █

     ▄   █   ▄                                █     █

     ▀▀█████▀▀      ▄▀▀▀▄ ▄▀▀▀▄    ▄▀▀▀▀▄█  ▀▀█▀▀▀▀▀█▀▀   ▄▀▀▀▀▄    ▄▀▀

   ▀█▄       ▄█▀   █     █     █  █      █    █     █    █▄▄▄▄▄▄█  █   

     ▀█▄   ▄█▀     █     █     █  █      █    █     █    █         █   

  ▄██▀▀█   █▀▀██▄  █     █     █   ▀▄▄▄▄▀█    ▀▄▄   ▀▄▄   ▀▄▄▄▄▀   █   

▀▀    █   █    ▀▀



  BOOTSTRAP! Bootstrap may take a few minutes; please be patient.



Downloading and installing packages into local source directory:



  Setting up CIPD package manager...[-Traceback (most recent call last):

  File "/home/lee/esp_matter/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 795, in

    sys.exit(main())

  File "/home/lee/esp_matter/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 787, in main

    return EnvSetup(**vars(parse())).setup()

  File "/home/lee/esp_matter/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 457, in setup

    result = step(spin)

  File "/home/lee/esp_matter/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 546, in cipd

    cipd_client = cipd_wrapper.init(

  File "/home/lee/esp_matter/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 357, in init

    bootstrap(client, silent, rosetta=rosetta)

  File "/home/lee/esp_matter/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 311, in bootstrap

    tmp.write(client_bytes(rosetta))

  File "/home/lee/esp_matter/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 240, in client_bytes

    conn.request('GET', path)

  File "/usr/lib/python3.10/http/client.py", line 1282, in request

    self._send_request(method, url, body, headers, encode_chunked)

  File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request

    self.endheaders(body, encode_chunked=encode_chunked)

  File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders

    self._send_output(message_body, encode_chunked=encode_chunked)

  File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output

    self.send(msg)

  File "/usr/lib/python3.10/http/client.py", line 975, in send

    self.connect()

  File "/usr/lib/python3.10/http/client.py", line 1447, in connect

    super().connect()

  File "/usr/lib/python3.10/http/client.py", line 941, in connect

    self.sock = self._create_connection(

  File "/usr/lib/python3.10/socket.py", line 833, in create_connection

    sock.connect(sa)

KeyboardInterrupt

更多回帖

发帖
×
20
完善资料,
赚取积分