求助 AI-WB2 BL602 matter开发环境有搭建成功的吗?搭了好几个版本的都不行,ESP-matter就很容易。
各位看看是什么原因
matter@matter-Platform:~/BL602_matter/bflb-connectedhomeip$ source ./scripts/activate.sh
bash: /home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/util.sh: 没有那个文件或目录
pw_get_env_root:未找到命令
mkdir: 无法创建目录 "": 没有那个文件或目录
Traceback (most recent call last):
File "/home/matter/BL602_matter/bflb-connectedhomeip/scripts/setup/gen_pigweed_cipd_json.py", line 97, in <module>
main()
File "/home/matter/BL602_matter/bflb-connectedhomeip/scripts/setup/gen_pigweed_cipd_json.py", line 93, in main
generate_new_cipd_package_json(**vars(parser.parse_args()))
File "/home/matter/BL602_matter/bflb-connectedhomeip/scripts/setup/gen_pigweed_cipd_json.py", line 42, in generate_new_cipd_package_json
with open(input) as ins:
^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/pigweed.json'
pw_bootstrap:未找到命令
pw_finalize:未找到命令
Installing pip requirements for all...
^X^CERROR: Operation cancelled by user
pw_cleanup:未找到命令
matter@matter-Platform:~/BL602_matter/bflb-connectedhomeip$ source ./scripts/activate.sh
2025-03-31 22:05:36,100 Loading extra packages for linux
2025-03-31 22:05:36,100 Skipping: darwin (i.e. /home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/python311.json)
2025-03-31 22:05:36,100 Skipping: windows (i.e. /home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/python311.json)
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/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 999, in <module>
sys.exit(main())
^^^^^^
File "/home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 991, in main
return EnvSetup(**vars(parse())).setup()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 576, in setup
result = step(spin)
^^^^^^^^^^
File "/home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 674, in cipd
cipd_client = cipd_wrapper.init(
^^^^^^^^^^^^^^^^^^
File "/home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 380, in init
bootstrap(client, silent, rosetta=rosetta)
File "/home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 330, in bootstrap
tmp.write(client_bytes(rosetta))
^^^^^^^^^^^^^^^^^^^^^
File "/home/matter/BL602_matter/bflb-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 254, in client_bytes
conn.request('GET', path)
File "/usr/lib/python3.12/http/client.py", line 1336, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.12/http/client.py", line 1382, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.12/http/client.py", line 1331, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.12/http/client.py", line 1091, in _send_output
self.send(msg)
File "/usr/lib/python3.12/http/client.py", line 1035, in send
self.connect()
File "/usr/lib/python3.12/http/client.py", line 1470, in connect
super().connect()
File "/usr/lib/python3.12/http/client.py", line 1001, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 852, in create_connection
raise exceptions[0]
File "/usr/lib/python3.12/socket.py", line 837, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
Installing pip requirements for all...
matter@matter-Platform:~/BL602_matter/connectedhomeip-1$ source ./scripts/activate.sh -p bouffalolab
2025-03-31 22:12:48,490 Loading extra packages for linux
2025-03-31 22:12:48,490 Skipping: darwin (i.e. /home/matter/BL602_matter/connectedhomeip-1/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/python311.json)
2025-03-31 22:12:48,490 Skipping: windows (i.e. /home/matter/BL602_matter/connectedhomeip-1/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/python311.json)
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/matter/BL602_matter/connectedhomeip-1/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 999, in <module>
sys.exit(main())
^^^^^^
File "/home/matter/BL602_matter/connectedhomeip-1/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 991, in main
return EnvSetup(**vars(parse())).setup()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/matter/BL602_matter/connectedhomeip-1/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 576, in setup
result = step(spin)
^^^^^^^^^^
File "/home/matter/BL602_matter/connectedhomeip-1/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 674, in cipd
cipd_client = cipd_wrapper.init(
^^^^^^^^^^^^^^^^^^
File "/home/matter/BL602_matter/connectedhomeip-1/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 380, in init
bootstrap(client, silent, rosetta=rosetta)
File "/home/matter/BL602_matter/connectedhomeip-1/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 330, in bootstrap
tmp.write(client_bytes(rosetta))
^^^^^^^^^^^^^^^^^^^^^
File "/home/matter/BL602_matter/connectedhomeip-1/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 254, in client_bytes
conn.request('GET', path)
File "/usr/lib/python3.12/http/client.py", line 1336, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.12/http/client.py", line 1382, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.12/http/client.py", line 1331, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.12/http/client.py", line 1091, in _send_output
self.send(msg)
File "/usr/lib/python3.12/http/client.py", line 1035, in send
self.connect()
File "/usr/lib/python3.12/http/client.py", line 1470, in connect
super().connect()
File "/usr/lib/python3.12/http/client.py", line 1001, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 852, in create_connection
raise exceptions[0]
File "/usr/lib/python3.12/socket.py", line 837, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
Installing pip requirements for bouffalolab...
WARNING: Ignoring invalid distribution ~rllib3 (/home/matter/.local/lib/python3.12/site-packages)
matter@matter-Platform:~/BL602_matter/connectedhomeip-1$
|