-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Jupyter Notebook throws 'IOLoop' AttributeError with tornado=5.0 #3407
Comments
You need to upgrade pyzmq to version 17, which is compatible with the new version of Tornado. Anaconda accidentally packaged Tornado 5 before packaging pyzmq 17, but they should have now packaged the latest pyzmq as well. |
Good to know, thanks @takluyver |
To be clear, our case was not anaconda, and it was getting everything on a fresh install from pip. We do not install pyzmq or tornado directly (although installing tornado directly did fix it). |
Hello, Downgrading tornado to 4.5.3 solves the issue. |
That probably means that your kernel is running in an environment where you still have an older version of pyzmq, while your notebook is running somewhere with a newer pyzmq. |
Thanks - how would I diagnose this?
…On Tue, Apr 3, 2018 at 10:20 AM, Thomas Kluyver ***@***.***> wrote:
That probably means that your kernel is running in an environment where
you still have an older version of pyzmq, while your notebook is running
somewhere with a newer pyzmq.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3407 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABI7KjD11074UBkPLLiSpboUnOhoV0Kxks5tkzDBgaJpZM4ShDMM>
.
|
Use If there's an entry which ends with |
This is strange, the kernels all point to the right place. All works fine
in a fresh environment, too.
…On Tue, Apr 3, 2018 at 10:45 AM, Thomas Kluyver ***@***.***> wrote:
Use jupyter kernelspec list to see where your kernelspecs are. That shows
you some folders - inside each one should be a kernel.json file pointing
to which executable that kernelspec will use.
If there's an entry which ends with ipykernel/resources, then it won't
have a kernel.json, and that kernel type will be launched with the same
Python that the notebook server runs on.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3407 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABI7Kn0LIk55pplOcj7B9gm2B1LdSI_Rks5tkzaagaJpZM4ShDMM>
.
|
I have been having the same issue. I upgraded pyzmq to 17.0.0 globally and the issue has not been solved. |
If you're getting the same traceback as in the original post, then it must be using an older version of pyzmq somewhere. Check for different virtualenvs/conda envs/Python versions. |
thanks, it solved my problem |
…#724) * add script to execute all the ipynbs in the examples/notebooks folder * directly exectute with jupyter-nbconvert --execute; timeout=60 * test in alphabetical order * a bit of docu * downgrade tornado for the moment ... c.f. jupyter/notebook#3407 * fix NameError: get_dataset_path * fix AttrbuteError: dl1 has no waveform * fix Timeout Error, set maxevents to 30 * increase timeout to 2min * h5py is needed for the notebooks * more features: xfail, dot-line, capture output at the end - allow to exclude known failing notebooks (xfail) - print the typical pytest dots while testing (dot-line) - print the stderr of failing tests (and xfails) at the end * decode output correctly * move functions around * no need to set brainstorm to xfail, it was removed in the meantime * double the timeout * replace " with '
I followed all the update tornado and pyzmq suggestions, still same error in old conda env. I made a fresh conda env - no error. I made the comparison.
fixed my old conda env |
Upgrading pyzmq didn't work for me, but as a few other recent comments here have mentioned, downgrading tornado did it! |
Still a problem on OSX 10.13.6 (17G5019) with pip installed latest versions of everything and only the intended versions/environments for pyzmq/tornado/et al. Downgrading tornado to 4.5.3 still works. |
|
Observation
After updating to
tornado=5.0
usingconda update --all -y
, jupyter notebook cannot start and was throwing errors:This was seen on Ubuntu 17.10 with Anaconda 5.1.0 x64.
Solution
Similar to #3397, this is solved by manually downgrading back to
tornado=4.5.3
withconda install tornado=4.5.3
, hence it seems to be a breaking change caused by tornado 5.0 releasesThe text was updated successfully, but these errors were encountered: