如何在不“安装”它们的情况下下载Anaconda软件包?

时间:2015-10-05 19:39:58

标签: python anaconda conda

见标题。我想从Anaconda存储库下载一个压缩包,以便以后安装。我如何使用conda工具来做到这一点?

1 个答案:

答案 0 :(得分:4)

使用--download-only标志。

$ conda install --help
usage: conda install [-h] [--revision REVISION] [-y] [--dry-run] [-f]
                     [--file FILE] [--no-deps] [--only-deps] [-m] [-C]

...

  --download-only       Solve an environment and ensure package caches are
                        populated, but exit prior to unlinking and linking
                        packages into the prefix.

...