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

ModuleNotFoundError: No module named 'kfp' #872

Closed
shankarpm opened this issue Feb 27, 2019 · 3 comments
Closed

ModuleNotFoundError: No module named 'kfp' #872

shankarpm opened this issue Feb 27, 2019 · 3 comments
Assignees

Comments

@shankarpm
Copy link

I am getting this error on this line in python3 Env. I am using Mac .

from kfp.components import load_component_from_file
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'kfp'

I have installed all the requirements below for kubeflow pipeline
pip3 install https://storage.googleapis.com/ml-pipeline/release/0.1.10/kfp.tar.gz --upgrade
gcloud components install kubectl

Please let me know .thanks
Shankar

@gaoning777
Copy link
Contributor

I had this problem before because the pip3 installs the package in a place that the python3 does not include. Please check your python path and see if the packages are there.

@Ark-kun
Copy link
Contributor

Ark-kun commented Mar 7, 2019

Try python3 -m pip install https://storage.googleapis.com/ml-pipeline/release/0.1.10/kfp.tar.gz --upgrade.
This should work in rare cases when your python3 and pip3 are de-synced.

@Ark-kun Ark-kun self-assigned this Mar 7, 2019
@vicaire
Copy link
Contributor

vicaire commented Mar 26, 2019

Resolving since it has been open for a while. Please reopen if more help is needed.

@vicaire vicaire closed this as completed Mar 26, 2019
Linchin pushed a commit to Linchin/pipelines that referenced this issue Apr 11, 2023
HumairAK pushed a commit to red-hat-data-services/data-science-pipelines that referenced this issue Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants