Hacker News new | ask | show | jobs
by longevyti 1266 days ago
> Now I'm experimenting with mamba ("fast conda") and that's pretty good.

+1 for this. I really like Conda because I use a lot of packages that cannot be installed with only pip (E.g. GDAL). Conda would sometimes take 10 minutes to make an environment.

Mamba has been an absolute game changer. It has rewritten parts of Conda in C++ and added multithreading, so every part of the process - the solving, download, and the extraction - is all Lightning quick in comparison. A 10 minute process with Conda can now take 2.5 mins with Mamba. It also helps that it is also prettier to look at!

2 comments

I found that the best way to install GDAL was:

- on Windows, using Christoph Gohlke’s wheels,

- on Linux, installing GDAL with the OS’ package manager, then the Python bindings by fixing the version to $(gdal-config —-version) and setting C_INCLUDE_DIR and CPP_INCLUDE_DIR.

It’s a bit more involved, but the speed of pip and conda’s multiple channels and dependency resolution issues make this worth it.

Agreed. I recently saw on a Mamba team's blog post saying that conda is also starting to incorporating libmamba, so probably the issue could be resolved someday.