How to fix compatibility between libraries

347 Views Asked by At

I;m trying to perform some actions with jwt token. I'm working with Django-rest-jwt, which requires PyJWT and jwt. The problem is - I made fork to PyJWT cause I need some code working another way, and when I try to use Django-rest-jwt, it says that he can't find jwt, also pip3 gives me this, when I install my fork.

pic

btw fork works correctly. So, how can I make Django-rest-jwt use my fork instead of PyJWT? I tried to fork it and change requirements, but didn't find PyJWT at all

1

There are 1 best solutions below

0
On

Use lower version of PyJWT, like 1.7.1: pip install pyjwt==1.7.1

or if you are using requirements.txt file, change you pyjwt version there.