pd87 发表于 2021-1-26 13:32:15

【已解答】按照提示来的


pd87 发表于 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: *** 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求助

大炮运维V587 发表于 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用户权限吗?提示是没有权限,使用命令解除下权限,如果还不行就安装虚拟机吧
chattr -i -R /www/server/panel/pyenv/
页: [1]
查看完整版本: 【已解答】按照提示来的