admin管理员组

文章数量:1122846

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: /

How to resolve this error/warning.

本文标签: What is the correct library for Flask BootstrapStack Overflow