我试图运行烧瓶,当我运行烧瓶时
我收到这个错误
(snoop) ether@ether:~/Documents/loginsystem$ flask run
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Usage: flask run [OPTIONS]
Error: Could not locate a Flask application. You did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not found in the current directory.
我已经做好了
Run command: set FLASK_APP=main.py
Run command: set FLASK_DEBUG=1
Run command: flask run
但这不会改变错误的任何内容
我将本教程用于登录系统 https://codeshack.io/login-system-python-flask-mysql/