目录
4.2 Target Environment Specification
4.3 Output, Prompt, and Flow Control Options
5.1 Output, Prompt, and Flow Control Options
6.2 Target Environment Specification
6.3 Output, Prompt, and Flow Control Options
7.3 Target Environment Specification目标环境规范编号
7.4 Output, Prompt, and Flow Control Options输出、提示和流控制选项
4 conda env export
Export a given environment
导出给定环境
usage: conda env export [-h] [-c CHANNEL] [--override-channels]
[-n ENVIRONMENT | -p PATH] [-f FILE] [--no-builds]
[--ignore-channels] [--json] [-v] [-q]
[--from-history]
4.1 Named Arguments
4.1 命名参数
-c, --channel
Additional channel to include in the export
要包含在导出中的附加通道
--override-channels
Do not include .condarc channels
不包括.condarc通道
-f, --file
File name or path for the exported environment. Note: This will silently overwrite any existing file of the same name in the current directory.
导出环境的文件名或路径。注意:这将静默覆盖当前目录中任何同名的现有文件。
--no-builds
Remove build specification from dependencies
从依赖项中删除构建规范
--ignore-channels
Do not include channel names with package names.
不要在包名称中包含通道名称。
--from-history
Build environment spec from explicit specs in history
从历史中的显式规格构建环境规格
4.2 Target Environment Specification
4.2 目标环境规范编号
-n, --name
Name of environment. 环境的名称。
-p, --prefix
Full path to environment location (i.e. prefix).
环境位置的完整路径(即前缀)。
4.3 Output, Prompt, and Flow Control Options
4.3 输出、提示和流控制选项
--json
Report all output as json. Suitable for using conda programmatically.
将所有输出报告为json。适合以编程方式使用conda。
-v, --verbose
Can be used multiple times. Once for detailed output, twice for INFO logging, thrice for DEBUG logging, four times for TRACE logging.
可多次使用。一次用于详细输出,两次用于INFO日志记录,三次用于DEBUG日志记录,四次用于TRACE日志记录。
-q, --quiet
Do not display progress bar.
不显示进度条。