发帖
3 0 0

求助 AI-WB2 BL602 matter开发环境有搭建成功的吗?

邦邦
论坛元老

10

主题

27

回帖

4178

积分

论坛元老

积分
4178
Ai-WB2系列 36 3 前天 22:21
求助 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$


──── 0人觉得很赞 ────

使用道具 举报

我问问技术
我们github上有开源的,wb2搭建matter环境确实有点难,正好这个开发人员请假了,后续等他上班了,我再给你详细问问教程。
昨天 22:02
1.jpg

我想搭最新的版本,官方的都三年没更新了。
您需要登录后才可以回帖 立即登录
高级模式
返回
统计信息
  • 会员数: 28251 个
  • 话题数: 40215 篇