|
debian 11系统
Python 3.9.2
运行pip install whitenoise 依然报错
===============mdserver-web cli tools=================
(1) 重启面板服务
(2) 停止面板服务
(3) 启动面板服务
(4) 重载面板服务
(5) 修改面板端口
(10) 查看面板默认信息
(11) 修改面板密码
(12) 修改面板用户名
(13) 显示面板错误日志
(20) 关闭BasicAuth认证
(21) 解除域名绑定
(100) 开启PHP52显示
(101) 关闭PHP52显示
(200) 切换Linux系统软件源
(201) 简单速度测试
(0) 取消
======================================================
请输入命令编号:3
starting mw-tasks... done
starting mw-panel... ................failed
------------------------------------------------------
self.callable = self.load()
File "/www/server/mdserver-web/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/www/server/mdserver-web/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/www/server/mdserver-web/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/www/server/mdserver-web/app.py", line 25, in <module>
from route import app, socketio
File "/www/server/mdserver-web/route/__init__.py", line 31, in <module>
from whitenoise import WhiteNoise
ModuleNotFoundError: No module named 'whitenoise'
------------------------------------------------------
Error: mw-panel service startup failed.
|
|