by Anonymous » 19 Aug 2025, 07:30
Ich verwende JWT für ein Testprojekt mit Fastapi und habe ein seltsames Problem mit JWT gestoßen. Sowohl meine IDE als auch mein Fastapi sagen, dass das JWT -Modul
nicht gefunden werden könne, obwohl es in der .venv lib -Datei und auf PIP aufgeführt ist. Irgendwelche Ideen, wie man es behebt? Ich kann keine ähnlichen Probleme online finden. < /P>
Code: Select all
Searching for package file structure from directories with __init__.py files
ERROR Import error: No module named 'jwt'
WARNING Ensure all the package directories have an __init__.py file
Package Version
------------ -------
cffi 1.17.1
cryptography 45.0.6
pip 25.2
pycparser 2.22
PyJWT 2.10.1
Ich verwende JWT für ein Testprojekt mit Fastapi und habe ein seltsames Problem mit JWT gestoßen. Sowohl meine IDE als auch mein Fastapi sagen, dass das JWT -Modul [url=viewtopic.php?t=22532]nicht gefunden[/url] werden könne, obwohl es in der .venv lib -Datei und auf PIP aufgeführt ist. Irgendwelche Ideen, wie man es behebt? Ich kann keine ähnlichen Probleme online finden. < /P>
[code]Searching for package file structure from directories with __init__.py files
ERROR Import error: No module named 'jwt'
WARNING Ensure all the package directories have an __init__.py file
Package Version
------------ -------
cffi 1.17.1
cryptography 45.0.6
pip 25.2
pycparser 2.22
PyJWT 2.10.1
[/code]