ubuntu16.04에 dsl-compile 설치하기

2020. 4. 17. 20:38꿀팁 분석 환경 설정/Linux 관련 팁

728x90

kubectl에서 dsl-compile 설치하기

apt-get update; apt-get install -y wget bzip2
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
which conda
(못찾을 경우 아래처럼 환경 잡아주기)
export PATH=/home/lsr/miniconda3/bin/:$PATH
(위의 주소(/home/lsr/miniconda3/)은 bash  Miniconda3-latest-Linux-x86_64.sh 에서 설정한 것을 가져오면 됨)

conda create --name mlpipeline python=3.6
## conda init 에러 날시 안나면 아래 source 부분 패스하고 conda activate
source ~/miniconda3/etc/profile.d/conda.sh

conda activate mlpipeline
pip install kfp --upgrade 
export PATH=$PATH:~/.local/bin
which dsl-compile

출처

(https://www.kubeflow.org/docs/pipelines/sdk/install-sdk/)

불러오는 중입니다...

 

728x90