简体   繁体   English

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

[英]How do I download Anaconda packages without “installing” them?

See title. 见标题。 I'd like to download a compressed package from the Anaconda repository for later installation. 我想从Anaconda存储库下载一个压缩包,以便以后安装。 How would I use the conda tool to do that? 我如何使用conda工具来做到这一点?

Use the --download-only flag. 使用--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.

...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM