fairing icon indicating copy to clipboard operation
fairing copied to clipboard

ImportError: cannot import name 'PredictionEndpoint'

Open elmahyai opened this issue 6 years ago • 3 comments

/kind bug

What steps did you take and what happened: On Kubeflow, when I run a jupyter notebook as described here : https://www.kubeflow.org/docs/fairing/gcp/tutorials/gcp-kubeflow-notebook/

What did you expect to happen: I expected the tutorial to work as expected and the import to work fine

Anything else you would like to add:

from fairing import PredictionEndpoint
from fairing.backends import KubeflowGKEBackend

ImportError Traceback (most recent call last) in ----> 1 from fairing import PredictionEndpoint 2 from fairing.backends import KubeflowGKEBackend

ImportError: cannot import name 'PredictionEndpoint'

Environment:

  • Fairing version: (use python -c "import fairing; print(fairing.__version__)"): 0.5.3

  • Minikube version:

  • Kubernetes version: (use kubectl version): Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.4", GitCommit:"c27b913fddd1a6c480c229191a087698aa92f0b1", GitTreeState:"clean", BuildDate:"2019-02-28T13:37:52Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"12+", GitVersion:"v1.12.6-eks-d69f1b", GitCommit:"d69f1bf3669bf00b7f4a758e978e0e7a1e3a68f7", GitTreeState:"clean", BuildDate:"2019-02-28T20:26:10Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}

  • OS (e.g. from /etc/os-release): running on aws

elmahyai avatar Jun 28 '19 15:06 elmahyai

Issue-Label Bot is automatically applying the label kind/bug to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jun 28 '19 15:06 issue-label-bot[bot]

@ahmedelmahy That works fine for me, could you please check if the fairing is installed? Thanks.

jinchihe avatar Aug 06 '19 04:08 jinchihe

/priority p2 /area jupyter

jtfogarty avatar Jan 15 '20 22:01 jtfogarty