python module 'jwt' has no attribute 'encode' code example Example: AttributeError: module 'jwt' has no attribute 'encode' pip install pyjwt