[Tip] Anaconda virtual environment export and import

최대 1 분 소요

Conda environment export

  1. Activate the virtual environment.

  2. Type “conda env export > filename.yaml”

  3. The filename.yaml is created in the base folder.

  4. You can check your env_ name, channels, dependencies, libraries in your filename.yaml.

  • filename.yaml info

MAE

Conda environment import

  1. Type “conda env create -f filename.yaml” (If you have a environment which is same with your filename, this command can be refused. If so, you must delete the environment first).

  2. Activate the environment that you create and check the libraries in your environment.

  • The result of creating environment.

MAE

태그:

카테고리:

업데이트:

댓글남기기