在 WingIDE 中设置 Flask 项目:
from flask import Flask
app = Flask(__name__)
if __name__ == "__main__":
import os
if 'WINGDB_ACTIVE' in os.environ:
app.debug = False
app.run()
返回此错误:
File "g:\PyDev\quick\testes.py", line 4, in <module>
from flask import Flask
builtins.ModuleNotFoundError: No module named 'flask'