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

Tornado=6.0.1 creating error for python2.7 notebook #4484

Closed
DumbMachine opened this issue Mar 16, 2019 · 4 comments
Closed

Tornado=6.0.1 creating error for python2.7 notebook #4484

DumbMachine opened this issue Mar 16, 2019 · 4 comments

Comments

@DumbMachine
Copy link

I get the below error, when I try to run jupyter notebook. This has happened with multiple envs i have. This issue is related to tornado version 6.0.1 ( if I'm not wrong)
image

@DumbMachine
Copy link
Author

DumbMachine commented Mar 16, 2019

If it helps, downgrading the version of tornado to 5.0 gets rid of the above issue.
(or any release other than 6.0, while being >=5.0)
pip install tornado=5.0

@yavalvas
Copy link

It looks that your problem is related to the version of Python which is no longer supported by Tornado:
what's new in 6-0-0
So you have type annotation in your tornado package which is used since python3.5:
https://www.python.org/dev/peps/pep-0484/.
It would be better to migrate to a supported version of Python or keep supported version fixed.

@DumbMachine
Copy link
Author

DumbMachine commented Mar 16, 2019

It was a requirement to use python2.7, I made this issue to help others who might face this issue. Now that it's clear, I suppose the issue can be closed?

@yavalvas
Copy link

Yes, it can be closed.

Here is a list of packages which won't support python2.7 in their new versions:
https://python3statement.org/

tornado and jupyter-notebook are between them.

Python devguide changes:
EOL date

@minrk minrk added this to the Reference milestone Mar 27, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 2, 2021
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