Forums

ModuleNotFoundError - flask_jwt

.

Traceback (most recent call last):
    File "/home/iamabhi67/mysite/flask_app.py", line 3, in <module>
    from flask_jwt import JWT, jwt_required
    ModuleNotFoundError: No module named 'flask_jwt'

While running application it gives above error

[edit by admin: formatting]

It looks like you just need to install that library into your account. As your website is using Python 3.7, you just need to run this command in a bash console:

pip3.7 install --user Flask-JWT

There's more information about installing packages on this help page.