bearpi 这个错误怎么解决求求专家指导

FAILED: suites/acts.zip
python ../../test/xts/tools/build/suite.py archive_suite --suite_path /root/code/code_3/out/BearPi-HM_Nano/suites/acts --testcases_name testcases --prebuilts_resource , --build_enabled true
Traceback (most recent call last):
  File "/root/code/code_3/out/BearPi-HM_Nano/../../test/xts/tools/build/suite.py", line 284, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/root/code/code_3/out/BearPi-HM_Nano/../../test/xts/tools/build/suite.py", line 279, in main
    func()
  File "/root/code/code_3/out/BearPi-HM_Nano/../../test/xts/tools/build/suite.py", line 247, in archive_suite
    shutil.make_archive(suite_path, "zip", suite_root_path, archive_name)
  File "/usr/local/lib/python3.9/shutil.py", line 1072, in make_archive
    raise ValueError("unknown archive format '%s'" % format) from None
ValueError: unknown archive format 'zip'
[138/198] AR libs/libdiscovery.a
[139/198] cross compiler obj/kernel/liteos_m/components/cmsis/cmsis_liteos.o
ninja: build stopped: subcommand failed.
you can check build log in /root/code/code_3/out/BearPi-HM_Nano/build.log
/root/HarmonyOS/tools/ninja/ninja -w dupbuild=warn -C /root/code/code_3/out/BearPi-HM_Nano failed, return code is 1
usage:
  python build.py ipcamera_hi3516dv300
  python build.py ipcamera_hi3518ev300
  python build.py wifiiot

positional arguments:
  product               Name of the product

optional arguments:
  -h, --help            show this help message and exit
  -b BUILD_TYPE, --build_type BUILD_TYPE
                        release or debug version.
  -t [TEST ...], --test [TEST ...]
                        Compile test suit
  -n, --ndk             Compile ndk
自己搭建的环境 但是编译之后出现这些,太难受了。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值