k230安装python扩展包失败

Viewed 336

重现步骤

使用make buildroot-menuconfig安装python serial库,编译镜像时提示错误:
/bin/bash: /home/mw/Workspace/k230_sdk/output/k230_canmv_01studio_defconfig/little/buildroot-ext/host/bin/python: No such file or directory
make[3]: *** [package/pkg-generic.mk:250: /home/mw/Workspace/k230_sdk/output/k230_canmv_01studio_defconfig/little/buildroot-ext/build/python-serial-3.5/.stamp_built] Error 127
make[2]: *** [Makefile:23: _all] Error 2
make[2]: Leaving directory '/home/mw/Workspace/k230_sdk/output/k230_canmv_01studio_defconfig/little/buildroot-ext'
make[1]: *** [Makefile:69: all] Error 2
make[1]: Leaving directory '/home/mw/Workspace/k230_sdk/src/little/buildroot-ext'
/bin/bash: line 2: exit: defconfig: numeric argument required
make: *** [Makefile:477: buildroot] Error 2

尝试安装其他扩展库,比如psutil,也是这个提示这个错误

期待结果和实际结果

软硬件版本信息

01 studio linux+rtos

错误日志

尝试解决过程

补充材料

1 Answers

请正常编译一遍后,再使用make buildroot-menuconfig /make uboot-savedefconfig 进行配置,配置完后再进行编译