Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flask can't import flask-cors #298

Open
DimoDimchev opened this issue Oct 9, 2021 · 3 comments
Open

Flask can't import flask-cors #298

DimoDimchev opened this issue Oct 9, 2021 · 3 comments

Comments

@DimoDimchev
Copy link

DimoDimchev commented Oct 9, 2021

I am trying to use the @cross_origin decorator in my Flask app and I receive the following error: ModuleNotFoundError: No module named 'flask_cors'. Is there a solution to this problem?

I installed the package using the pip install -U flask-cors command

The Python version I'm using is 3.9

@smccaffrey
Copy link

@DimoDimchev did you ever find a solution here? I am experiencing a similar issue with accessing a flask endpoint via a POST request from another app.

@derek-adair
Copy link

This is not the appropriate forum for this type of thing. This is a bug tracker, not a support forum.

Please look up how to properly configure your python applications and close this issue. You likely need to study up on importing packages and using venv

@kurtmckee
Copy link
Contributor

@corydolphin Please close this issue. It is not a bug in the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants