Platform is WIndows 10 Home 64 bit
Traceback (most recent call last):
File “G:\A0_DEV_ACTIVE\RADSYSTEMS\RADTRIAL01\PYTHON-FLASK-API\run.py”, line 1, in
from app import app
File “G:\A0_DEV_ACTIVE\RADSYSTEMS\RADTRIAL01\PYTHON-FLASK-API\app_init_.py”, line 63, in @jwt.user_loader_callback_loader
AttributeError: ‘JWTManager’ object has no attribute ‘user_loader_callback_loader’
Thanks for the advice - dependencies must not be installed - ran
pip install -r requirements.txt
New messages display
Traceback (most recent call last):
File “G:\A0_DEV_ACTIVE\RADSYSTEMS\RADTRIAL01\PYTHON-FLASK-API\run.py”, line 1, in
from app import app
File “G:\A0_DEV_ACTIVE\RADSYSTEMS\RADTRIAL01\PYTHON-FLASK-API\app_init_.py”, line 12, in
from flask_jwt_extended import JWTManager, jwt_required, current_user
File “C:\Users\dhaer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\flask_jwt_extended_init_.py”, line 1, in
from .jwt_manager import JWTManager
File “C:\Users\dhaer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\flask_jwt_extended\jwt_manager.py”, line 11, in
from flask_jwt_extended.config import config
File “C:\Users\dhaer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\flask_jwt_extended\config.py”, line 8, in
from jwt.algorithms import requires_cryptography
ImportError: cannot import name ‘requires_cryptography’ from ‘jwt.algorithms’ (C:\Users\dhaer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\jwt\algorithms.py)