esp-matter 执行install.sh失败

paul6688
Posts: 8
Joined: Fri Jun 16, 2023 6:48 am

esp-matter 执行install.sh失败

Postby paul6688 » Wed Jun 21, 2023 3:42 am

Downloading and installing packages into local source directory:

Setting up CIPD package manager...Traceback (most recent call last):
File "/home/rck/esp2/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 877, in <module>
sys.exit(main())
File "/home/rck/esp2/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 869, in main
return EnvSetup(**vars(parse())).setup()
File "/home/rck/esp2/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 522, in setup
result = step(spin)
File "/home/rck/esp2/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 616, in cipd
cipd_client = cipd_wrapper.init(
File "/home/rck/esp2/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 378, in init
bootstrap(client, silent, rosetta=rosetta)
File "/home/rck/esp2/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 328, in bootstrap
tmp.write(client_bytes(rosetta))
File "/home/rck/esp2/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 252, in client_bytes
conn.request('GET', path)
File "/usr/lib/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/lib/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/lib/python3.8/http/client.py", line 1418, in connect
super().connect()
File "/usr/lib/python3.8/http/client.py", line 922, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable

paul6688
Posts: 8
Joined: Fri Jun 16, 2023 6:48 am

Re: esp-matter 执行install.sh失败

Postby paul6688 » Thu Jun 22, 2023 7:11 am

原因是clone的时候因为网络原因 部分未clone成功导致

ESP_@In逍遥子
Posts: 132
Joined: Thu Nov 15, 2018 2:06 am

Re: esp-matter 执行install.sh失败

Postby ESP_@In逍遥子 » Mon Jul 17, 2023 2:41 am

检查下,终端中是否有科学上网环境。

Who is online

Users browsing this forum: Google [Bot] and 101 guests