카테고리 없음

Anaconda 가상환경 복사

Hemos 2019. 10. 11. 18:09

conda env export -n test > environment.yml

가상환경정보 저장파일 생성

 

똑같은 가상환경 생성.

conda env create -f environment.yml

 

 

---------

 

오프라인 패키지 복사

 

cd ~/anaconda3/envs

tar cfz test.tar.gz test

 

환경저장된 디렉토리 업로드

 

cd ~/anaconda3/envs

tar xf test.tar.gz

rm -rf test.tar.gz