Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5.3.0b3: ModuleNotFoundError: No module named 'jwt' #3461

Open
woutdenolf opened this issue Dec 21, 2024 · 2 comments · May be fixed by #3462
Open

Version 5.3.0b3: ModuleNotFoundError: No module named 'jwt' #3461

woutdenolf opened this issue Dec 21, 2024 · 2 comments · May be fixed by #3462

Comments

@woutdenolf
Copy link
Contributor

pip install --pre redis
python -c "import redis"
    import redis
/usr/local/lib/python3.12/site-packages/redis/__init__.py:3: in <module>
    from redis import asyncio  # noqa
/usr/local/lib/python3.12/site-packages/redis/asyncio/__init__.py:1: in <module>
    from redis.asyncio.client import Redis, StrictRedis
/usr/local/lib/python3.12/site-packages/redis/asyncio/client.py:35: in <module>
    from redis.asyncio.connection import (
/usr/local/lib/python3.12/site-packages/redis/asyncio/connection.py:30: in <module>
    from ..auth.token import TokenInterface
/usr/local/lib/python3.12/site-packages/redis/auth/token.py:4: in <module>
    import jwt
E   ModuleNotFoundError: No module named 'jwt'

Intoduced in #3445.

@vladvildanov Could you have a look?

@woutdenolf
Copy link
Contributor Author

woutdenolf commented Dec 21, 2024

It is probably best to remove requirements.txt and dev_requirements.txt and handle dependencies in setup.py.

@woutdenolf
Copy link
Contributor Author

@vladvildanov I proposed a fix in #3462

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant