I am currently trying to get my flask app to debug. It runs through in normal mode however in debug mode (PyCharm, not the flask one) I keep getting the error "No module named flask.flask". So this is my configuration:
I noticed if I uncheck FLASK_DEBUG the error does not show up. Both Windows and macOS same issue.
Win10, PyCharm 2019.1.3, Python 3.6, Flask 1.1.0
macOS 10.14, PyCharm 2019.1.3, Python 3.7, Flask 1.1.1
I am thankful for any advice.
EDIT: I just tried to break down, whether it could be something wrong with my project so I ran this minimal example and I am ending up with the same error.
from flask import Flask
app = Flask(__name__)
return 'Hello World!'
if __name__ == '__main__':
So at least for me it is a reproducible behavior.