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

TFX tutorial 0.13rc1 - jupyter notebook cannot connect to kernel #87

Closed
JerryKurata opened this issue May 4, 2019 · 2 comments
Closed

Comments

@JerryKurata
Copy link

JerryKurata commented May 4, 2019

Environment:
Ubuntu 18.0.4
TFX tutorial
TFX 0.13rc1
Python 3.5
tfx-env virtual environment

When attempting to execute jupyter notebook as part of the tutorial, all notebooks are unable to connect the kernel and therefore cannot be run. The problem is unique to the tfx-env. Jupyter Notebooks outside the environment work fine.

This is a known issues with jupyter and tornado 6.0.x (see jupyterhub/jupyterhub#2451) . To fix the issue I uninstalled tornado while the environment was active and reinstalled with tornado 5.1.1. The commands used were:
pip3 uninstall tornado
pip3 install tornado==5.1.1

After this was done, and jupyter restarted, I was able to execute step3.ipynb, etc, or any other notebook using both the tfx and python3 kernels.

I suggest the environment either:

  • install a version of jupyter that works with tornado 6.x is installed.
  • or install tornado 5.1.1 until a version of jupyter that works with the tornado 6.x can be added to the environment.
@gowthamkpr gowthamkpr self-assigned this May 6, 2019
@1025KB
Copy link
Collaborator

1025KB commented May 6, 2019

In the issue you mentioned, it says the bug fixed in notebook 5.7.5, what's your notebook version?

@JerryKurata
Copy link
Author

JerryKurata commented May 7, 2019

Good catch. Mine is older that 5.7.5. I assumed the Demo installed it's own.

Since it is a frustrating issues, perhaps a check for notebook version 5.7.5 and above could be added to install script.

Going to close this ticket

ruoyu90 pushed a commit to ruoyu90/tfx that referenced this issue Aug 28, 2019
* SIG-Micro proposal

* Fixed typo

* Updated SIG Micro proposal

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

No branches or pull requests

3 participants