[Python] How do I Enable Caching of conda-forge Files in Micromamba?

Discussão em 'Python' iniciado por Stack, Junho 6, 2025.

  1. Stack

    Stack Membro Participativo

    When I install a package with Micromamba, it always downloads the conda-forge/linux-64 (44MB) and conda-forge/noarch (21MB) repodata files. This happens even if I install two packages within a few minutes of each other.

    I'm on mobile data, and this is sometimes quite slow.

    Is there any way to enable caching for these files?

    micromamba info shows package cache directories at /.local/share/mamba/pkgs and ~/.mamba/pkgs. The former is populated with a lot of package files, the latter is empty.

    There is a folder ~/.local/share/mamba/conda-meta, but it is empty.

    The Mamba/Micromamba manual doesn't seem to have any relevant information, and I haven't found anything elsewhere by searching. Let me know in the comments if any relevant details are missing and I will add them to the question.

    Continue reading...

Compartilhe esta Página