Doing import jwt fails with error:
ImportError: PyO3 modules do not yet support subinterpreters, see https://github.com/PyO3/pyo3/issues/576.
Is there a fix for this import error?
The packages versions are:
$ python -m jwt.help
{
"cryptography": {
"version": "45.0.5"
},
"implementation": {
"name": "CPython",
"version": "3.13.7"
},
"platform": {
"release": "6.16.7-200.fc42.x86_64",
"system": "Linux"
},
"pyjwt": {
"version": "2.10.1"
}
}
I have also reported the bug in the PyJWT package:
jpadilla/pyjwt#1092