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

【已解决】ERROR: Make python env fielded.

发表在 Linux面板2022-10-16 16:23 [复制链接] 2 4292

Python-3.7.8/Objects/tupleobject.c
Python-3.7.8/Objects/obmalloc.c
Python-3.7.8/Objects/object.c
Python-3.7.8/Objects/abstract.c
Python-3.7.8/Objects/listobject.c
Python-3.7.8/Objects/bytes_methods.c
Python-3.7.8/Objects/dictnotes.txt
Python-3.7.8/Objects/typeslots.inc
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.8':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可制作目标“install”。 停止。
=================================================
ERROR: Make python env fielded.
ERROR: 编译宝塔运行环境失败!
Ubuntu 22.04.1 LTS
\l
Bit:64 Mem:M Core:4
Linux hiseico-baytrail 5.15.0-50-generic #56-Ubuntu SMP Tue Sep 20 13:23:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

使用道具 举报 只看该作者 回复
发表于 2022-10-16 16:31:05
[code]apt update
apt install -y gcc g++ make cmake[/code]
执行下面的命令,安装gcc依赖库,然后重新安装宝塔面板试试

完美解决 多谢大佬  发表于 2022-10-16 17:28
支持 1 反对 0
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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