Flask run not recognizing python-dotenv on windows
I ran into the same issue and resolved it by executing python -m flask run instead of flask run. The -m allows modules to be located and executed.
So I'm running python 3.7 on Windows and I have installed python-dotenv in my virtual environment as well as flask.  I have a .flaskenv file in the root of my project where I execute flask run, it looks as if python/flask is not recognizing python-dotenv .flaskenv file it ignores my parameters and states that I do not have a FLASK_APP value assigned.  This same setup works fine on a Linux workstation.  Is there something different to configure on windows to get this to work?
Thanks ahead of time.