我写了一个flask应用程序,它工作得很好。我想将其作为可执行文件分发。尝试使用pyinstallerflaskScript.py生成了dist文件夹。进入dist文件夹并双击我的可执行flaskScript,它启动了我的服务器。在访问url时,localhost:9090出现以下异常jinja2.exceptions.TemplateNotFoundTemplateNotFound:index.htmlTraceback(mostrecentcalllast)File"/Users/george/Downloads/flaskApps/flaskScript/build/flaskS