I have python 3.9 and trying to set up poynt==0.0.16, but also i get pyjwt==2.6.0 from pypi by default. And i got the issue when calling api.request(...) twice. poynt/api.py:143 Simply fixed by doing this: pip install "pyjwt <= 1.20.0"