当前位置:论坛首页 > BUG提交 > Linux面板

【已解答】按照提示来的

发表在 BUG提交2021-1-26 13:32 [复制链接] 2 3874

iShot2021-01-26 13.30.08.png
使用道具 举报 只看该作者 回复
发表于 2021-1-26 13:34:13 | 显示全部楼层

Python build finished successfully!
The necessary bits to build these optional modules were not found:
nis                                                            
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
_abc                  atexit                pwd               
time                                                           

running build_scripts
creating build/scripts-3.7
copying and adjusting /www/Python-3.7.8/Tools/scripts/pydoc3 -> build/scripts-3.7
copying and adjusting /www/Python-3.7.8/Tools/scripts/idle3 -> build/scripts-3.7
copying and adjusting /www/Python-3.7.8/Tools/scripts/2to3 -> build/scripts-3.7
copying and adjusting /www/Python-3.7.8/Tools/scripts/pyvenv -> build/scripts-3.7
changing mode of build/scripts-3.7/pydoc3 from 644 to 755
changing mode of build/scripts-3.7/idle3 from 644 to 755
changing mode of build/scripts-3.7/2to3 from 644 to 755
changing mode of build/scripts-3.7/pyvenv from 644 to 755
renaming build/scripts-3.7/pydoc3 to build/scripts-3.7/pydoc3.7
renaming build/scripts-3.7/idle3 to build/scripts-3.7/idle3.7
renaming build/scripts-3.7/2to3 to build/scripts-3.7/2to3-3.7
renaming build/scripts-3.7/pyvenv to build/scripts-3.7/pyvenv-3.7
Creating directory /www/server/panel/pyenv/bin
install: cannot change permissions of '/www/server/panel/pyenv/bin': Operation not permitted
Creating directory /www/server/panel/pyenv/lib
install: cannot change permissions of '/www/server/panel/pyenv/lib': Operation not permitted
make: *** [Makefile:1189: altbininstall] Error 1
=================================================
ERROR: Make python env fielded.
CentOS Linux release 8.3.2011
Bit:64 Mem:1981M Core:4
Linux 2b5cb8905396 4.19.104-linuxkit #1 SMP PREEMPT Sat Feb 15 00:49:47 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
使用道具 举报 回复 支持 反对
发表于 2021-1-26 14:09:57 | 显示全部楼层
pd87 发表于 2021-1-26 13:34
Python build finished successfully!
The necessary bits to build these optional modules were not fou ...

您好,您这个是docker环境吗?拥有root用户权限吗?提示是没有权限,使用命令解除下权限,如果还不行就安装虚拟机吧
  1. chattr -i -R /www/server/panel/pyenv/
复制代码

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

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表