找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 339|回复: 4

小白想请教一个编译openwrt时遇到的问题!

[复制链接]
就是我编译openwrt的时候提示我python啥的有点问题
我一开始网上找方法下载配置了python,也能查到python的版本了,但是make menuconfig还是不成功
有无大佬指教一下,拜托拜托

我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... failed.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'argp.h'... ok.
Checking 'fts.h'... ok.
Checking 'obstack.h'... ok.
Checking 'libintl.h'... ok.
Checking 'ldconfig-stub'... ok.

Build dependency: Please install the Python3 distutils module

Prerequisite check failed. Use FORCE=1 to override.

make: *** [/home/jx/project/openwrt.pro/lede/include/toplevel.mk:182:/home/jx/project/openwrt.pro/lede/staging_dir/host/.prereq-build] 错误 1
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
查看python版本也能查到了



~/project/openwrt.pro/lede$ python --version
Python 3.10.12



我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

sudo apt-get install python3-distutils

点评

感谢!可以解决了  详情 回复 发表于 2023-12-27 11:25
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
Sivon 发表于 2023-12-21 11:51
sudo apt-get install python3-distutils

感谢!可以解决了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 21:47

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表