[Tip] Anaconda virtual environment export and import
Conda environment export
-
Activate the virtual environment.
-
Type “conda env export > filename.yaml”
-
The filename.yaml is created in the base folder.
-
You can check your env_ name, channels, dependencies, libraries in your filename.yaml.
- filename.yaml info
Conda environment import
-
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).
-
Activate the environment that you create and check the libraries in your environment.
- The result of creating environment.
댓글남기기