Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

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

Closed
DachuanZhao opened this issue Oct 18, 2018 · 1 comment
Closed

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

DachuanZhao opened this issue Oct 18, 2018 · 1 comment
Assignees

Comments

@DachuanZhao
Copy link

The error is "ModuleNotFoundError: No module named 'flask.ext'"
My python version is 3.7 and my flask version is 1.0.2.

@lmeunier
Copy link
Owner

Hello,
Since Flask v0.11, importing extension with flask.ext is deprecated.
You can use import flask_compressor instead.

@lmeunier lmeunier self-assigned this Oct 18, 2018
lmeunier added a commit that referenced this issue Oct 18, 2018
Since Flask v0.11, importing extension with `import
flask.ext.compressor` is deprecated. Extension imports should be of the
form `import flask_compressor`.

Issue #3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants