{"action":"opened","issue":{"url":"https://api.github.com/repos/kubeflow/fairing/issues/307","repository_url":"https://api.github.com/repos/kubeflow/fairing","labels_url":"https://api.github.com/repos/kubeflow/fairing/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/kubeflow/fairing/issues/307/comments","events_url":"https://api.github.com/repos/kubeflow/fairing/issues/307/events","html_url":"https://github.com/kubeflow/fairing/issues/307","id":462094989,"node_id":"MDU6SXNzdWU0NjIwOTQ5ODk=","number":307,"title":"ImportError: cannot import name 'PredictionEndpoint'","user":{"login":"ahmedelmahy","id":21027513,"node_id":"MDQ6VXNlcjIxMDI3NTEz","avatar_url":"https://avatars2.githubusercontent.com/u/21027513?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmedelmahy","html_url":"https://github.com/ahmedelmahy","followers_url":"https://api.github.com/users/ahmedelmahy/followers","following_url":"https://api.github.com/users/ahmedelmahy/following{/other_user}","gists_url":"https://api.github.com/users/ahmedelmahy/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedelmahy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedelmahy/subscriptions","organizations_url":"https://api.github.com/users/ahmedelmahy/orgs","repos_url":"https://api.github.com/users/ahmedelmahy/repos","events_url":"https://api.github.com/users/ahmedelmahy/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedelmahy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-06-28T15:40:40Z","updated_at":"2019-06-28T15:40:40Z","closed_at":null,"author_association":"NONE","body":"/kind bug\r\n\r\n**What steps did you take and what happened:**\r\nOn Kubeflow, when I run a jupyter notebook as described here :\r\nhttps://www.kubeflow.org/docs/fairing/gcp/tutorials/gcp-kubeflow-notebook/\r\n\r\n\r\n\r\n**What did you expect to happen:**\r\nI expected the tutorial to work as expected and the import to work fine\r\n\r\n**Anything else you would like to add:**\r\n```\r\nfrom fairing import PredictionEndpoint\r\nfrom fairing.backends import KubeflowGKEBackend\r\n```\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-15-d238526435d0> in <module>\r\n----> 1 from fairing import PredictionEndpoint\r\n      2 from fairing.backends import KubeflowGKEBackend\r\n\r\nImportError: cannot import name 'PredictionEndpoint'\r\n\r\n\r\n\r\n\r\n**Environment:**\r\n\r\n- Fairing version: (use `python -c \"import fairing; print(fairing.__version__)\"`):\r\n0.5.3\r\n- Minikube version:\r\n- Kubernetes version: (use `kubectl version`):\r\nClient 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\"}\r\nServer 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\"}\r\n\r\n\r\n- OS (e.g. from `/etc/os-release`):\r\nrunning on aws \r\n\r\n"}}
{"actor":{"display_login":"ahmedelmahy"}}