V
V
Vampre2018-11-23 07:08:56
Python
Vampre, 2018-11-23 07:08:56

Why is flask.ext not being imported?

Imports of this kind do not work: Throws an error ImportError No module named flask.ext But if you write from flask_bootstrap import Bootstrap, then everything is imported normally. I have Flask 1.0.2 installed.
from flask.ext.bootstrap import Bootstrap

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question