报错代码:
-
*** Operational MODE: preforking+threaded ***
-
/www/server/pyporject_evn/Flask_venv/lib/python3.10/site-packages/fuzzywuzzy/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
-
warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
-
unable to find "application" callable in file /www/wwwroot/Flask/chatbot.py
-
unable to load app 0 (mountpoint='') (callable not found or import error)
-
*** no app loaded. going in full dynamic mode ***
-
*** uWSGI is running in multiple interpreter mode ***
-
spawned uWSGI master process (pid: 7030)
-
spawned uWSGI worker 1 (pid: 7036, cores: 2)
-
spawned uWSGI worker 2 (pid: 7037, cores: 2)
-
spawned uWSGI worker 3 (pid: 7039, cores: 2)
-
spawned uWSGI worker 4 (pid: 7040, cores: 2)
-
spawned uWSGI http 1 (pid: 7042)
复制代码
-
from applications import create_app
-
-
application = create_app()
-
-
-
if __name__ == '__main__':
-
application.run()
复制代码
入口代码参考以上方式。
《开源许可协议》
|
《用户协议》
|
《隐私声明》
|
高新技术企业编号GR201944000059
|
粤B2-20201398
|
粤ICP备17030143号
|
粤公网安备44190002003211号
违法网站请勿向我司工作人员发起任何形式的人工服务请求,严禁使用宝塔面板从事任何非法活动
|
违规信息举报入口
|
中国互联网举报中心