sukesh
sukesh

Reputation: 2423

What is the correct library for Flask Bootstrap

There is a warning in my PyCharm IDE for the import line:

main.py:

from flask_bootstrap import Bootstrap5  

app = Flask(__name__)
Bootstrap5(app)

which says:

Package containing module 'flask_bootstrap' is not listed in the project requirements

But in requirements.txt, I already have Bootstrap-Flask==2.4.1

The import and usage of this library are specified here: https://pypi.org/project/Bootstrap-Flask/

How to resolve this error/warning.

Upvotes: 0

Views: 10

Answers (0)

Related Questions