无法从 app:app 加载配置

unable to load configuration from app:app

我正在尝试 运行 使用 supervisor 的 uwsgi 烧瓶应用服务器,但出现错误

[program:tmanalytics]
directory = /srv/www/tmapi/
command = uwsgi --socket /tmp/tmuwsgi.sock   app:app --chmod-socket 777 --touch-reload /srv/www/tmapi/deployment.log
watch=/srv/www/tmapi/app/
stdout_logfile=/srv/www/tmapi/tmapi-analytics.log
autostart=true
autorestart=true
redirect_stderr=true
stopsignal=QUIT

试试这个

command = uwsgi -s /tmp/tmuwsgi.sock   -w app:app --chmod-socket=666 --touch-reload /srv/www/tmapi/deployment.log