Hi guys, I'm hosting the supertokens backend in py...
# support-questions-legacy
m
Hi guys, I'm hosting the supertokens backend in python and testing locally, when the sessioninfo API is called not getting the accessTokenPayload perperly, could you please help me figure out what went wrong?
r
hey @manikantasannidhi which, and which versions of the frontend and backend SDKs are you using?
m
"supertokens-auth-react": "latest" / 0.34.1 supertokens-python==0.12.5
it's due to incompatibility?
r
0.34.1 should work with python SDK
did you try out our demo apps for python?
m
i tried but got some errors which didn't resolve, so i've set up with different versions of different libraries
r
what was the error
?
m
ERROR: Could not find a version that satisfies the requirement Django==4.2 (from versions: 1.1.3, 1.1.4, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.3, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, .....) ERROR: No matching distribution found for Django==4.2
r
@KShivendu can help
k
For recent Django versions you need to have newer python version.
@manikantasannidhi what's your current python version?
m
3.9.5
SuperTokens Core version: 4.6.0
k
okay. I'll cross check once.
How are you installing Django? Can you share the command?
Can you check if output of
which pip
is aligned with that of
which python
?
@manikantasannidhi
m
sure
will share in a while
sudo apt install postgresql
psql (15.3 (Ubuntu 15.3-1.pgdg18.04+1))
r
hey @manikantasannidhi this is a little out of scope with supertokens. Please ask in the django community
it doesn't seem to be an issue with supertokens.
m
@rp_st sure, looks like something went wrong while setting up django Thanks for the help @rp_st @KShivendu
r
cool
3 Views