[当我在外壳中运行Python时,出现错误“ noappexception无法导入问候”。如何解决?

问题描述 投票:0回答:1

我已经成功安装了python 3.4,但是当我尝试通过在centos7 bash命令中使用python命令运行它时,它没有运行。我得到的错误:

-"NoAppException Could not import hello"

还有这个错误:

"Error message : 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."

我是初学者,请提供此错误的解决方案...

python python-2.7 flask error-handling python-3.4
1个回答
0
投票

您能为我们提供一些代码,但在此期间也许会帮您

Cannot setup Flask. How to setup environment variable in Windows?

© www.soinside.com 2019 - 2024. All rights reserved.