Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-24-2022 08:54 AM
Hi, I've seen some errors occurring with Flask and Python version 3.10 but I have 3.9.7 and am getting the following error when trying to do 'flask run' in the Terminal shell.
Any help appreciated!
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: 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.
Solved! Go to Solution.
07-25-2022 05:14 AM
Hello @stephflint ,
Did you copy the .env.example to .env ?
The FLASK_APP should be set in that file.
Elaine
07-25-2022 05:14 AM
Hello @stephflint ,
Did you copy the .env.example to .env ?
The FLASK_APP should be set in that file.
Elaine
07-25-2022 07:54 AM
Thanks @elaine_rosenber - The solution was actually quite simple, I just had to type 'python flask run' in the Terminal
All the sessions of the conference are now available online