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

2022/1/20 23:14:40

本文主要是介绍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
自己搭建的环境 但是编译之后出现这些,太难受了。



这篇关于bearpi 这个错误怎么解决求求专家指导的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程