Let’s check some installations/configurations
To check whether python is installed correctly. In windows: open a CLI, type:
py
and press enter. If the commmand is known that’s OK! If it is NOT: open a browser on python.org, download the python installation.
While running this installion make sure you twice(!) select that the PATH variable has to be set! Open a new CLI, check py
is now recognized!
Also python
should be recognized:
python
(or python3
)
On a CLI, type
flask --version
If that’s recognized that means flask is installed. If not, use:
pip install Flask
ionos: troubleshooting common python problems python.org: Python on windows FAQ