Closed gosala closed 9 months ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Please check if you have PyJWT
installed in your python environment. This SO thread might also have some relevant information https://stackoverflow.com/a/64145303/1526201
i installed firebase_admin when i try to import jwt it's giving error - ImportError: cannot import name PyJWKClient from jwt
check complete error below
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/var/www/html/api/toonifime/caricature.py", line 22, in
from firebase_admin import app_check, credentials
File "/var/www/html/api/myenv/lib/python3.10/site-packages/firebase_admin/app_check.py", line 19, in
from jwt import PyJWKClient, ExpiredSignatureError, InvalidTokenError, DecodeError
ImportError: cannot import name 'PyJWKClient' from 'jwt' (/var/www/html/api/myenv/lib/python3.10/site-packages/jwt/init.py)