設置 | 登錄 | 註冊

目前共有2篇帖子。

ModuleNotFoundError: No module named 'formatter'

16樓 巨大八爪鱼 2026-12-1 10:50
make[1]: Leaving directory '/home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/support/kconfig'
  GEN     /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/output/rockchip_rk3506_luckfox/Makefile
Parsing defconfig: /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/configs/rockchip_rk3506_luckfox_defconfig
: No such file or directorykchip/base/base.config
: No such file or directorykchip/fs/vfat.config
' does not exist.  Exit.ockchip/base/base.config
***
*** Can't find default configuration "/home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/output/rockchip_rk3506_luckfox/.config.in"!
***
make: *** [Makefile:1060: rockchip_rk3506_luckfox_defconfig] Error 1
make: Leaving directory '/home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot'
巨大八爪鱼 2026-12-3 09:03
解决办法:将buildroot/configs/rockchip_rk3506_luckfox_defconfig文件恢复原状。
[oct1158@oct1158-fedora Luckfox_Lyra_SDK_250815]$ cd buildroot/configs
[oct1158@oct1158-fedora configs]$ git checkout rockchip_rk3506_luckfox_defconfig
Updated 0 paths from the index
[oct1158@oct1158-fedora configs]$ cd ../..
[oct1158@oct1158-fedora Luckfox_Lyra_SDK_250815]$ ./build.sh

內容轉換:

回覆帖子
內容:
用戶名: 您目前是匿名發表。
驗證碼:
看不清?換一張