当前位置:论坛首页 > Linux面板 > 求助

【待反馈】Debian13,新安装的纯净系统。无法安装面板。

发表在 Linux面板3 天前 [复制链接] 5 142

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:9.0/11

系统版本:Debian GNU/Linux 13

问题描述:无法安装面板,两个版本都不行。

相关截图(日志、错误):

Python-3.7.16/PCbuild/_testmultiphase.vcxproj.filters
Python-3.7.16/PCbuild/_asyncio.vcxproj
Python-3.7.16/PCbuild/_ssl.vcxproj.filters
Python-3.7.16/PCbuild/_msi.vcxproj.filters
Python-3.7.16/PCbuild/readme.txt
Python-3.7.16/PCbuild/fix_encoding.py
Python-3.7.16/PCbuild/venvlauncher.vcxproj
Python-3.7.16/PCbuild/env.ps1
Python-3.7.16/PCbuild/rt.bat
Python-3.7.16/PCbuild/_multiprocessing.vcxproj.filters
Python-3.7.16/PCbuild/build.bat
Python-3.7.16/PCbuild/get_externals.bat
Python-3.7.16/PCbuild/_testembed.vcxproj.filters
Python-3.7.16/PCbuild/_testbuffer.vcxproj.filters
Python-3.7.16/PCbuild/_hashlib.vcxproj
Python-3.7.16/PCbuild/lib.pyproj
Python-3.7.16/PCbuild/_asyncio.vcxproj.filters
Python-3.7.16/PCbuild/_elementtree.vcxproj.filters
Python-3.7.16/PCbuild/tix.vcxproj
Python-3.7.16/PCbuild/_ssl.vcxproj
Python-3.7.16/PCbuild/python3dll.vcxproj
Python-3.7.16/PCbuild/_multiprocessing.vcxproj
Python-3.7.16/PCbuild/pythonw.vcxproj
Python-3.7.16/PCbuild/select.vcxproj
Python-3.7.16/PCbuild/openssl.props
Python-3.7.16/PCbuild/_queue.vcxproj.filters
Python-3.7.16/PCbuild/prepare_ssl.py
Python-3.7.16/PCbuild/idle.bat
Python-3.7.16/install-sh
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for python3.7... no
checking for python3... python3
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... checking for --without-gcc... no
checking for --with-icc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/www/Python-3.7.16':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
=================================================
ERROR: Make python env fielded.
ERROR: 编译宝塔运行环境失败!
Debian GNU/Linux 13
\l
Bit:64 Mem:3921M Core:4
Linux Debian 6.12.38+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.38-1 (2025-07-16) x86_64 GNU/Linux
============================================
请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
或添加QQ群:706478424 寻求帮助
============================================
install.sh: 行 222: pkg-config: 未找到命令
检测到缺少系统ssl相关依赖,可执行下面命令安装依赖后再重新安装宝塔看是否正常
执行前请确保系统源正常
安装依赖命令: apt-get install libssl-dev -y
==================================================

使用道具 举报 只看该作者 回复
发表于 昨天 00:34 | 显示全部楼层
本帖最后由 Yangsh888 于 2025-8-14 00:36 编辑

Debian13 官方纯净系统默认是不带C编译器和相关开发工具的。

sudo apt install -y build-essential
sudo apt install -y python3-dev python3-pip
sudo apt install -y libssl-dev libffi-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev

执行上述代码进行安装,然后自行验证一下核心工具是否安装成功:

gcc --version
make --version
python3 --version
python3-config --cflags

然后再次执行下面的命令,以适配Debian13:

sudo apt install -y libc6-dev linux-libc-dev
sudo apt install -y zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev

上述所有命令请在执行安装宝塔面板之前执行,建议重装新环境后按顺序实施。
使用道具 举报 回复 支持 反对
发表于 前天 10:45 | 显示全部楼层
  1. apt install pkg-config
复制代码

执行命令,重新安装
使用道具 举报 回复 支持 反对
发表于 前天 21:39 | 显示全部楼层
我也遇到同样问题  没办法解决
使用道具 举报 回复 支持 反对
发表于 昨天 00:24 | 显示全部楼层
宝塔用户_tjplxv 发表于 2025-8-13 21:39
我也遇到同样问题  没办法解决

执行下面我发的
使用道具 举报 回复 支持 反对
发表于 昨天 12:30 | 显示全部楼层
Yangsh888 发表于 2025-8-14 00:34
Debian13 官方纯净系统默认是不带C编译器和相关开发工具的。

sudo apt install -y build-essential

谢谢收到。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

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