Skip to content
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

Missing parentheses #326

Open
ricciarellif opened this issue Jul 17, 2023 · 2 comments
Open

Missing parentheses #326

ricciarellif opened this issue Jul 17, 2023 · 2 comments

Comments

@ricciarellif
Copy link

ricciarellif commented Jul 17, 2023

Hallo, I'm using Python 3.10.6 and I just started building a new JWT-based API with PyCharm 2023.1.3 (Community Edition).

I wrote only few lines of code - not related with jose - and tried to start my app... got this error message:

(<class 'SyntaxError'>, SyntaxError("Missing parentheses in call to 'print'. Did you mean print(...)?", ('/NVME_BigFoot/PROJECTS/Python/pyamco/.venv/lib/python3.10/site-packages/jose.py', 546, 5, " print decrypt(deserialize_compact(jwt), {'k':key},\n", 547, 31)), <traceback object at 0x7f28b6b0f7c0>)

The app hangs at the following line:
from jose import JWTError, jwt

I don't know if this matters (I don't think so, though) but I'm also using FastAPI, passlib, pydantic, uviconr and starlette (latest releases)

Every help will be much appreciated
Fabrizio

@kit2512
Copy link

kit2512 commented Aug 19, 2023

Same

@YasinLiu
Copy link

pip install python-jose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants