banny18 发表于 2024-12-25 12:19:12

【已解答】Make python env fielded.编译宝塔运行环境失败!

面板、插件版本:Debian 安装脚本
稳定版9.0.0


系统版本:Linux version 6.1.27 (ugreen@debian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #30 SMP PREEMPT_DYNAMIC Thu Dec 12 13:24:19 CST 2024


问题描述:
安装失败Make python env fielded.编译宝塔运行环境失败!


相关截图(日志、错误):
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... gcc
checking whether the C compiler works... no
configure: error: in `/www/Python-3.7.16':
configure: error: C compiler cannot create executables
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: 编译宝塔运行环境失败!
UGOSPRO Linux
\l
Bit:64 Mem:15839M Core:4
Linux Banny-Nas 6.1.27 #30 SMP PREEMPT_DYNAMIC Thu Dec 12 13:24:19 CST 2024 x86_64 GNU/Linux
============================================
请截图以上报错信息发帖至论坛www.bt.cn/bbs求助


attach://188419.png

堡塔运维南一 发表于 2024-12-25 15:22:38

您好,建议使用debian 12或者ubuntu 22的操作系统去安装面板
这样后续的使用和维护上面遇到的问题也更少
页: [1]
查看完整版本: 【已解答】Make python env fielded.编译宝塔运行环境失败!