Answer the question
In order to leave comments, you need to log in
Why invalid python-jose syntax?
No matter how I tried to install python-jose, I get an error:
File "/usr/local/lib/python3.8/dist-packages/jose.py", line 546
print decrypt(deserialize_compact(jwt), {'k':key},
^
SyntaxError: invalid syntax
def cli_decrypt(jwt, key):
print decrypt(deserialize_compact(jwt), {'k':key},
validate_claims=False)
Package containing module 'jose' is not listed in project requirements
Answer the question
In order to leave comments, you need to log in
judging by the syntax jose for the second python was installed. How did you set him up?
this is how you need it:
pip install python-jose
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question