未验证 提交 ecd2e4e5 编写于 作者: S sina chavoshi 提交者: GitHub

Update install-sdk.md (#1552)

* Update install-sdk.md

* Using python3 -m pip install instead of pip3

* Update install-sdk.md
上级 92b8b403
......@@ -73,7 +73,22 @@ up Python using [Miniconda](https://conda.io/miniconda.html):
Run the following command to install the Kubeflow Pipelines SDK:
```bash
pip install https://storage.googleapis.com/ml-pipeline/release/latest/kfp.tar.gz --upgrade
pip3 install kfp --upgrade
```
**Note:** If you are not using a virtual environment, such as `conda`, when installing the Kubeflow Pipelines SDK, you may receive the following error:
```bash
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/kfp-0.2.0.dist-info'
Consider using the `--user` option or check the permissions.
```
If you get this error, install `kfp` with the `--user` option:
```bash
pip3 install kfp --upgrade --user
```
This command installs the `dsl-compile` and `kfp` binaries under `~/.local/bin`, which is not part of the PATH in some Linux distributions, such as Ubuntu. You can add `~/.local/bin` to your PATH by appending the following to a new line at the end of your `.bashrc` file:
```bash
export $PATH=$PATH:~/.local/bin
```
After successful installation, the command `dsl-compile` should be available.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册