flavors / django-graphql-jwt

JSON Web Token (JWT) authentication for Graphene Django
https://django-graphql-jwt.domake.io
MIT License
820 stars 173 forks source link

modulenotfounderror: no module named 'graphql_jwt' #299

Open MuhammadAbdulqader opened 2 years ago

MuhammadAbdulqader commented 2 years ago

when I'm trying to use this package this error appears:

modulenotfounderror: no module named 'graphql_jwt' /usr/local/lib/python3.9/site-packages/graphene_django/settings.py, line 89, in import_from_string

I put "graphql_jwt.refresh_token.apps.RefreshTokenConfig", in the INSTALLED_APPS and i did everything in the docs and this is my requirements.txt

pytz==2021.1 # https://github.com/stub42/pytz Pillow==8.3.2 # https://github.com/python-pillow/Pillow argon2-cffi==21.1.0 # https://github.com/hynek/argon2_cffi redis==3.5.3 # https://github.com/andymccurdy/redis-py hiredis==2.0.0 # https://github.com/redis/hiredis-py celery==5.1.2 # pyup: < 6.0 # https://github.com/celery/celery django-celery-beat==2.2.1 # https://github.com/celery/django-celery-beat flower==1.0.0 # https://github.com/mher/flower uvicorn[standard]==0.15.0 # https://github.com/encode/uvicorn

django==3.1.13 # pyup: < 3.2 # https://www.djangoproject.com/ django-environ==0.7.0 # https://github.com/joke2k/django-environ django-model-utils==4.1.1 # https://github.com/jazzband/django-model-utils django-allauth==0.45.0 # https://github.com/pennersr/django-allauth django-crispy-forms==1.12.0 # https://github.com/django-crispy-forms/django-crispy-forms django-redis==5.0.0 # https://github.com/jazzband/django-redis djangorestframework==3.12.4 # https://github.com/encode/django-rest-framework django-cors-headers==3.8.0 # https://github.com/adamchainz/django-cors-headers graphene-django==2.15.0 django-graphql-jwt==0.3.4

django-modeltranslation==0.17.3 drf-yasg2==1.19.4 django-filter==21.1 django-smart-selects==1.5.9 django-nested-inline==0.4.4 django-phonenumber-field==5.2.0 phonenumbers==8.12.33 djoser==2.1.0 dj-rest-auth==2.1.11 django-shortuuidfield==0.1.3 awesome-slugify==1.6.5 django-ckeditor==6.1.0 xlrd==2.0.1 pandas==1.3.5 django-cleanup==5.2.0 django-extensions==3.1.3 # https://github.com/django-extensions/django-extensions