Titanic Example: loaddata fails
See original GitHub issueHello,
I’m trying to compile/execute the official titanic-ml example, but I have the issue that the python packages which I import under the tag “imports” cannot be found when I run the pipeline. For example, in the step loaddata, I get
ModuleNotFoundError: No module named 'seaborn'
So does that mean that kale does not take care of making sure that all imported packages are actually installed and that I have to do it myself by either
- using subprocess inside my code
- referring to a docker image that has the package preinstalled? In this case, what if my docker image is in a private repository, do I then need to manually edit the generated
.kale.py
script and add image pull secrets?
(I also noticed that in the Kale panel, the option “Use this notebook’s volumes” is disabled and I cannot enable it on the UI. Could these issues be related to one another?)
Would be very grateful for some advice! I’m using Kubeflow 0.7 and my notebook server is based on the image gcr.io/arrikto-public/tensorflow-1.14.0-notebook-cpu:kubecon-workshop. The kubeflow-kale version is 0.3.4. If you need any additional info, I’d be happy to provide them.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (3 by maintainers)
Top GitHub Comments
Does this also mean I need to compile my image to contain the data, or is there a way to point to the data?
Hi @StefanoFioravanzo,
I got the same issue. Is there a solution without MiniKF? I am using a shared kubeflow cluster and I am not the admin, so I can not switch to MiniKF. Thank you!