现在,当我执行set FLASK_APP=flaskblog.py和flask run之后,我得到了以下错误:
(venv) PS C:\Users\kashy\OneDrive\Desktop\FlaskYou did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not
You did not provide the FLASK_APP environment variable.以下是我尝试过的,但没有成功:$ export FLASK_APP=run.pyrun.pyYou did not provide the FLASK_APP environment variable.激活virtualenv,然后导出FLASK_APP
我创建了一个带有CRUD操作的简单的Flask应用程序,并使用下面的requirements.txt文件部署在豆茎中Flask-MySQLdb==0.2.0mysql==0.0.2SQLAlchemy==1.3.15Flask-Cors==3.0.8Flask-SocketIO==4.3.0 import tensorflow as tffrom keras