본문 바로가기

Develop/Python

conda env export / import 콘다 가상환경 백업/복구

conda env export > xxxxxx.yaml

 

name: grit
channels:
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=conda_forge
  - _openmp_mutex=4.5=2_gnu
  - bzip2=1.0.8=h7f98852_4
  - ca-certificates=2022.9.24=ha878542_0
  - ld_impl_linux-64=2.39=hc81fddc_0
  - libffi=3.4.2=h7f98852_5
  - libgcc-ng=12.2.0=h65d4601_19
  - libgomp=12.2.0=h65d4601_19
  - libnsl=2.0.0=h7f98852_0
  - libsqlite=3.40.0=h753d276_0
  - libuuid=2.32.1=h7f98852_1000
  - libzlib=1.2.13=h166bdaf_4
  - ncurses=6.3=h27087fc_1
  - openssl=3.0.7=h166bdaf_0
  - pip=22.3.1=pyhd8ed1ab_0
  - python=3.10.6=ha86cf86_0_cpython
  - readline=8.1.2=h0f457ee_0
  - tk=8.6.12=h27826a3_0
  - tzdata=2022f=h191b570_0
  - xz=5.2.6=h166bdaf_0
  - pip:
    - absl-py==1.3.0
    - antlr4-python3-runtime==4.8
    - blis==0.7.9
    - cachetools==5.2.0
    - catalogue==2.0.8
    - certifi==2022.9.24
    - charset-normalizer==2.1.1
    - click==8.1.3
    - confection==0.0.3
    - contourpy==1.0.6
    - cycler==0.11.0
    - cymem==2.0.7
    - einops==0.6.0
    - en-core-web-trf==3.4.1
    - filelock==3.8.0
    - fonttools==4.38.0
    - google-auth==2.14.1
    - google-auth-oauthlib==0.4.6
    - grpcio==1.50.0
    - h5py==3.7.0
    - huggingface-hub==0.11.0
    - hydra-core==1.1.0
    - idna==3.4
    - jinja2==3.1.2
    - joblib==1.2.0
    - kiwisolver==1.4.4
    ...
    ...
    ...
prefix: /opt/conda/envs/grit

 

conda env create -f 'xxxxxx.yaml'