Closed adonventure closed 2 months ago
Dear @adonventure, I believe you may have downloaded an incorrect distribution of PyJWT. I recommend you create a new clean environment and reinstall streamlit-authenticator and please make sure that you have PyJWT >=2.3.0
installed.
Assalamu Alaikum and JAZAKALLAH KHAIR
2024-04-21 00:06:05.545 Uncaught app exception Traceback (most recent call last): File "/home/talat/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script exec(code, module.dict) File "/home/talat/seoart/streamlit_authenticator_test.py", line 4, in
import streamlit_authenticator as stauth
File "/home/talat/.local/lib/python3.10/site-packages/streamlit_authenticator/init.py", line 15, in
from .authenticate import Authenticate
File "/home/talat/.local/lib/python3.10/site-packages/streamlit_authenticator/authenticate/init.py", line 19, in
from .cookie import CookieHandler
File "/home/talat/.local/lib/python3.10/site-packages/streamlit_authenticator/authenticate/cookie/init.py", line 13, in
from jwt import DecodeError, InvalidSignatureError
ImportError: cannot import name 'DecodeError' from 'jwt' (/home/talat/.local/lib/python3.10/site-packages/jwt/init.py)