設置 | 登錄 | 註冊

目前共有19篇帖子。

ModuleNotFoundError: No module named 'formatter'

11樓 巨大八爪鱼 2026-12-1 09:49
Your mpc header is missing
Please install it:
sudo apt-get install libmpc-dev
解决办法:sudo dnf install libmpc-devel
12樓 巨大八爪鱼 2026-12-1 10:11
Your unbuffer is missing
Please install it:
sudo apt-get install expect expect-dev
解决办法:sudo dnf install expect-devel
13樓 巨大八爪鱼 2026-12-1 10:16
2026-12-01T10:14:53
2026-12-01T10:14:53 You must install GNU patch
2026-12-01T10:14:53 make: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1
解决办法:sudo dnf install patch
14樓 巨大八爪鱼 2026-12-1 10:23
2026-12-01T10:17:46 Your Perl installation is not complete enough; at least the following
2026-12-01T10:17:46 modules are missing:
2026-12-01T10:17:46
2026-12-01T10:17:46 English
2026-12-01T10:17:46 ExtUtils::MakeMaker
2026-12-01T10:17:46 Thread::Queue
2026-12-01T10:17:46 FindBin
2026-12-01T10:17:46 IPC::Cmd
2026-12-01T10:17:46
2026-12-01T10:17:46 make: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1
2026-12-01T10:17:46 make: Leaving directory '/home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot'
解决办法:
sudo dnf install perl-English
sudo dnf install perl-ExtUtils-MakeMaker
sudo dnf install perl-Thread-Queue
sudo dnf install perl-FindBin
sudo dnf install perl-IPC-Cmd
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'
巨大八爪鱼:
解决办法:将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
17樓 巨大八爪鱼 2026-12-2 09:36
Linking /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/output/firmware/parameter.txt from /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/device/rockchip/.chip/parameter-lyra-emmc.txt...
/usr/bin/which: no fakeroot in (/home/oct1158/.local/bin:/home/oct1158/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin)

Your fakeroot is missing
Please install it:
sudo apt-get install fakeroot
解决办法:sudo dnf install fakeroot
18樓 巨大八爪鱼 2026-12-2 10:00
恭喜编译成功!

內容轉換:

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