Skip to content

Unable to run app.py (ModuleNotFoundError) #135

Open
@tealnshack

Description

@tealnshack

I am trying to run through local development and I haven't been able to get app.py to run backend URL output. The error that shows up is :

from flask_cors import CORS, cross_origin
ModuleNotFoundError: No module named 'flask_cors'

I did run the command: 'pip install -r requirements.txt' in the virtual environment that I created, but the error persists.

When running 'pip freeze' command, I get the following
Screenshot 2023-06-01 115135

Further, if I try to install flask_cors module, using 'pip install -U flask-cors', the output shows requirement already satisfied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions