I am getting a Module not found error when using jwt. Here is how I declared it:
def create_jwt_token(): payload = { \"iat\": int(time.time(
Use PyJWT instead. I faced the same issue with jwt so I uninstalled it and used PyJWT instead.