AttributeError: type object 'JWT' has no attribute 'encode' jose code example Example: AttributeError: module 'jwt' has no attribute 'encode' pip install pyjwt