How to download Anaconda packages without installing them?

See chapter. I would like to download the compressed package from the Anaconda repository for later installation. How can I use the conda tool for this?

+6
source share
2 answers

Use the 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.

...
+2
source

You can download packages into anaconda/pkgsby installing them in a different environment.

http://docs.anaconda.com/anaconda/user-guide/tasks/install-packages/?#installing-packages-on-a-non-networked-air-gapped-computer

-1
source

Source: https://habr.com/ru/post/1610320/


All Articles