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

SyntaxError: invalid syntax #6100

Closed
1334738575 opened this issue Jun 29, 2021 · 3 comments
Closed

SyntaxError: invalid syntax #6100

1334738575 opened this issue Jun 29, 2021 · 3 comments

Comments

@1334738575
Copy link

When I run “jupyter notebook”,I find:
from jupyter_client.channels import HBChannel
File "D:\anaconda3-2021.5\envs\tensorflow\lib\site-packages\jupyter_client\channels.py", line 47
time_to_dead: float = 1.0
^
SyntaxError: invalid syntax

@krassowski
Copy link
Member

Are you using Python 3.5? If so, you may need to either:

  • downgrade jupyter_client to 6.1.12
  • upgrade Python to 3.6 or newer as Python 3.5 reached end of life and is no longer supported (see here and here).

See: jupyter/jupyter_client#634

@kalpitgupta369
Copy link

Hey, I would like to help your issue. Please approve the required permissions.

@1334738575
Copy link
Author

Hey, I would like to help your issue. Please approve the required permissions.

Thank you for your concern, but the issue has been resolved.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants