ContextualVersionConflict Error with PyJWT on installing djangorestframework-simplejwt

Viewed 394

I have a digital ocean django instance and after I installed djangorestframework-simplejwt, I am getting Contextual Version Conflict with following error message:

(PyJWT 1.7.1 (/usr/lib/python3/dist-packages), Requirement.parse('pyjwt<3,>=2'), {'djangorestframework-simplejwt'})

I have upgraded PyJwt to 2+ version and have also removed existing python3-jwt from the instance but with no success. Not sure how and where this 1.7 version is coming from. I have also upgraded the django version to 3+

1 Answers

I was also having this conflicting issue with 'djangorestframework-simplejwt' ('pyjwt<3,>=2') when trying to install the Twilio library. I solved it by removing the Twilio version of the requirements.txt file

Related