Wednesday, November 17, 2021

Python⇒Speed: Speed up your Conda installs with Mamba

Conda installs can be very very very slow. Every time you run conda install:

  1. It has to collect the package metadata.
  2. It has to solve the environment. … maybe you can take a coffee break here, or go work on a jigsaw puzzle to relax …
  3. It has to download packages.
  4. Eventually, finally, it will install the packages it downloaded.

By the time this is all done you’ve probably forgotten what it was you were trying to do in the first place. To be fair, Conda has gotten faster in the past few releases, but it’s still far from being fast.

Luckily, a new project called Mamba has set out to reimplement Conda functionality while running much faster. So let’s see:

  • How much faster Mamba is.
  • How to switch to Mamba.
  • Using it in Docker to make image builds even faster.
Read more...

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...