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

ModuleNotFoundError: No module named 'flask.ext' #66

Closed
therealrobster opened this issue Jun 21, 2019 · 5 comments
Closed

ModuleNotFoundError: No module named 'flask.ext' #66

therealrobster opened this issue Jun 21, 2019 · 5 comments
Assignees
Labels

Comments

@therealrobster
Copy link

I'm trying to build via docker-compose and this is my error:

> web_1  |   File "/logrr/logrr/models.py", line 6, in <module>
> web_1  |     import flask_whooshalchemy as whooshalchemy
> web_1  |   File "/usr/local/lib/python3.7/site-packages/flask_whooshalchemy.py", line 18, in <module>
> web_1  |     import flask.ext.sqlalchemy as flask_sqlalchemy
> web_1  | ModuleNotFoundError: No module named 'flask.ext'

In my requirements.txt I have flask_whooshalchemy and am using import flask_whooshalchemy as whooshalchemy in my models.py file.

Is the error my end or a bug? I can't really tell

@zachvalenta
Copy link

looks like the same thing https://stackoverflow.com/a/53338666/6813490

@winnieshen96
Copy link

winnieshen96 commented May 1, 2020

Can someone please fix this deprecation bug? If we need to edit the code to run whooshalchemy then we have to carry this edited whooshalchemy version to production as well, which is not ideal.

@dhamaniasad dhamaniasad self-assigned this May 3, 2020
@dhamaniasad
Copy link
Collaborator

Hey folks,

Sorry for the trouble. I'll try and get a release out for this in the next few days. A PR would be welcome.

@dhamaniasad
Copy link
Collaborator

#68 will close this issue

@dhamaniasad
Copy link
Collaborator

Please switch to an alternative library: #69

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

No branches or pull requests

4 participants