install_panel.sh: line 1047: btpip: command not found
install_panel.sh: line 1048: /www/server/panel/pyenv/bin/pip3: No such file or directory
install_panel.sh: line 1049: /www/server/panel/pyenv/bin/pip3: No such file or directory
install_panel.sh: line 1050: /www/server/panel/pyenv/bin/pip3: No such file or directory
install_panel.sh: line 1051: /www/server/panel/pyenv/bin/pip3: No such file or directory
install_panel.sh: line 1052: /www/server/panel/pyenv/bin/pip3: No such file or directory
install_panel.sh: line 1053: btpip: command not found
install_panel.sh: line 1054: btpip: command not found
install_panel.sh: line 1055: btpip: command not found
install_panel.sh: line 1056: btpip: command not found
install_panel.sh: line 1057: btpip: command not found
install_panel.sh: line 1058: btpip: command not found
Traceback (most recent call last):
  File "/www/server/panel/script/init_db.py", line 9, in <module>
    from requests import get
ModuleNotFoundError: No module named 'requests'
Starting Bt-Panel............failed
------------------------------------------------------
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
------------------------------------------------------
Error: BT-Panel service startup failed.
	done
Starting Bt-Tasks... failed
------------------------------------------------------
Traceback (most recent call last):
  File "/www/server/panel/BT-Task", line 13, in <module>
    import task
  File "/www/server/panel/task.py", line 29, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Task", line 13, in <module>
    import task
  File "/www/server/panel/task.py", line 29, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Task", line 13, in <module>
    import task
  File "/www/server/panel/task.py", line 29, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
------------------------------------------------------
Error: BT-Task service startup failed.
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x0000ffff91c24750 (most recent call first):
install_panel.sh: line 1023: 10004 Aborted                 $python_bin -m py_compile tools.py
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x0000ffffa75bc750 (most recent call first):
install_panel.sh: line 1023: 10005 Aborted                 $python_bin tools.py username
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x0000ffffa1d92750 (most recent call first):
========================================
正在开启面板SSL，请稍等............ 
========================================
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x0000ffff9f279750 (most recent call first):
证书开启成功！
========================================
Stopping Bt-Tasks...	done
Stopping Bt-Panel...	done
Traceback (most recent call last):
  File "/www/server/panel/script/init_db.py", line 9, in <module>
    from requests import get
ModuleNotFoundError: No module named 'requests'
Starting Bt-Panel............failed
------------------------------------------------------
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
------------------------------------------------------
Error: BT-Panel service startup failed.
	done
Starting Bt-Tasks... failed
------------------------------------------------------
Traceback (most recent call last):
  File "/www/server/panel/BT-Task", line 13, in <module>
    import task
  File "/www/server/panel/task.py", line 29, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Task", line 13, in <module>
    import task
  File "/www/server/panel/task.py", line 29, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Task", line 13, in <module>
    import task
  File "/www/server/panel/task.py", line 29, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
------------------------------------------------------
Error: BT-Task service startup failed.
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
\n
Traceback (most recent call last):
  File "/www/server/panel/BT-Panel", line 10, in <module>
    from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
===============================================
正在执行(22)...
===============================================
lrwxrwxrwx 1 root root       37 Jul 13 08:29 python -> /www/server/panel/pyenv/bin/python3.7
-rwx------ 2 root root 15907320 Jul 13 08:29 python3.7
lsattr: Operation not supported While reading flags on python
--------------e------- python3.7
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x0000ffffb6233750 (most recent call first):
install_panel.sh: line 1023: 10298 Aborted                 btpython /www/server/panel/BT-Panel
=================================================
ERROR: The BT-Panel service startup failed.
ERROR: 宝塔启动失败
Debian GNU/Linux 11 
 \l
Bit:64 Mem:15723M Core:8
Linux rock-5b 5.10.110-38-rockchip #7a04ba0ad SMP Wed Jun 19 11:54:45 UTC 2024 aarch64 GNU/Linux
============================================
请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
或添加QQ群：706478424 寻求帮助
============================================
