Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Error: Could not locate Flask application. You did not provide the FLASK_APP environment variable. #58

@tadwhitaker

Description

@tadwhitaker

I ran into an Issue (resolved already as a separate issue in this repo) about a Werkzeug version conflict. Running flask run -p 5001 resulted in the following error:

  • Error: Could not locate Flask application. You did not provide the FLASK_APP environment variable.

I resolved this by adding 'export FLASK_APP=app.py' in the .env file, rerunning 'source .env' and then rerunning 'flask run -p 5001' to get it running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions