宝塔面板部署Flask报错unable to load app 0 (mountpoint=”) (callable not found or import error)

问题描述

宝塔面板部署Flask报错unable to load app 0 (mountpoint='') (callable not found or import error)
unable to find "application" callable in file /www/wwwroot/M/G/app.py
unable to load app 0 (mountpoint='') (callable not found or import error)

解决方法

在项目设置-运行配置中添加一行,设置flask的启动文件名。这里设置的是Flask默认的启动文件名app。

宝塔面板部署Flask报错unable to load app 0 (mountpoint='') (callable not found or import error)
技术

华为存储HCIP知识点

2023-10-16 21:44:46

技术网络基础

比特、位、字节、比特率、波特率的区别

2023-6-27 20:49:23