Skip to main content

Anaconda Environment Export And Import

Anaconda environment export and import

Anaconda Environment Export And Import

Choose an export environment you want.

image.png

I choose the Work37WindowsService and open Terminal.

image.png

Using "conda env export" command, you can get a list of all packages.

image.png

Using "conda env export > Work37WindowsService.yml (your file name)", you will get a list file of all packages.

image-2.png

There are two ways that you can import these package in your new environment.

Click the import button.

image.png

Input your new name of environment and choose your environment file (.yml).

image-2.png

Success!

image.png

Another way. Using "conda env create -f Work37WindowsService.yml", Work37WindowsService.yml is import file. You have to change them.

image.png

image-2.png

image-2.png

Success!

Management Environment Instructions

Create environment: conda create -n environment_name python=3 (version, such as 2.7, 3.6, 3.7, 3.8, etc)
Start environment: conda activate environment_name
Exit environment: deactivate
List environment: conda env list
Import/Export environment:
conda env export > environment.yaml
conda env create -f environment.yaml
Remove environment: conda env remove -n environment_name

Comments

Popular posts from this blog

Python 日期與時間的處理

數位影像處理:最佳化處理策略之快速消除扭曲演算法

寫作:波蘭文學習之旅:1-1. 波蘭文字母與發音(注音版)

Python 日期與時間的處理

Image

數位影像處理:最佳化處理策略之快速消除扭曲演算法

Image

寫作:波蘭文學習之旅:1-1. 波蘭文字母與發音(注音版)

Image

用10種程式語言做影像二值化(Image binarization)

Image

Visual Basic 6.0 (VB6) 程式語言案例學習 (10. 條碼列印程式)

Image

Visual Basic 6.0 (VB6) 程式語言案例學習 (07. 收據列印程式)

Image

Visual Basic .Net (VB.Net) 程式語言案例學習 (06. 題庫測驗系統)

Image

Visual Basic 6.0 (VB6) 程式語言案例學習 (11. 生產線拍照程式)

Image

Visual Basic 6.0 (VB6) 程式語言案例學習 (04. 人事考勤管理系統)

Image

Visual Basic .Net (VB.Net) 程式語言案例學習 (03. 場地預約系統)

Image