Hello Jupyter Forum Community,
I hope this message finds you well. I’m reaching out for assistance as I am relatively new to JupyterHub on Kubernetes and have encountered an issue while trying to set up the TensorFlow Image.
I’ve been following the “Zero to JupyterHub with Kubernetes” tutorial available at https://z2jh.jupyter.org/en/stable/, and I have successfully completed the following steps:
- Installed Helm v3
- Configured the Kubernetes cluster (self-hosted)
- Installed JupyterHub
- Configured different profiles for Data Science, Spark, TensorFlow, etc.
However, I’ve run into a problem specifically with the TensorFlow Image. Whenever I try to import the TensorFlow library, I consistently encounter an error stating “Kernel Restarting.”
After analyzing the log I found the following message:
Debugger warning: It seems that frozen modules are being used, which may make the debugger miss breakpoints. Please pass -Xfrozen_modules=off to python to disable frozen modules. Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
I have attached screenshots to this ticket to provide a visual representation of the issue, hoping that it will help in understanding and diagnosing the problem.
I would greatly appreciate it if someone could guide me in the right direction to resolve this TensorFlow Image issue. Any insights or suggestions would be immensely helpful.
Thank you in advance for your time and assistance.
Best regards,
Douglas