-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module 'jwt' has no attribute 'encode' #11
Comments
Yes. The module doesn't export |
As README, you must instantiate |
AttributeError: 'dict' object has no attribute '_jws'got this error :
while generating token: |
@furqan-asghar Your problem is not relative to this one, and as you're already doing, your problem will be discussed on #15. |
After putting JWT before encode this is happening AttributeError: module 'jwt' has no attribute 'JWT' |
@ranjannandi Please provide minimum reproducible code, and also jwt version you're using. |
I hit a similar issue with a test script in a filename of |
use "pip install pyjwt" |
you can check whether your code is name "jwt.py",if so,change it |
Your script is named
|
I want to encode with jwt.encode but I got this error.
The text was updated successfully, but these errors were encountered: