Hi,
I'm trying to use the PyJWT module in python 3.7.0.
I wonder why I can import the module without errors, but the encode attribute gives an error.
This is my code:
import jwt encoded = jwt.encode({'some': 'payload'}, 'secret')
I get this error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'jwt' has no attribute 'encode'
Any help is very appreciated!
BR Kresten