I'm not a Python programmer (more PHP and some NodeJS). After some googling I think a Python Flask application is run by:
$ export FLASK_APP=app.py
$ python -m flask run
However this gives me module errors:
* Serving Flask app "app.py"
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Usage: python -m flask run [OPTIONS]
Error: While importing "app", an ImportError was raised:
...
ModuleNotFoundError: No module named 'inflect'
How does one install all the modules used in this application? Like how in NodeJS I can type "npm install".
Could you please add a section in the README that describes the install & run process?
Hi Edward,
I'm not a Python programmer (more PHP and some NodeJS). After some googling I think a Python Flask application is run by:
$ export FLASK_APP=app.py $ python -m flask run
However this gives me module errors:
How does one install all the modules used in this application? Like how in NodeJS I can type "npm install".
Could you please add a section in the README that describes the install & run process?
Thanks!