Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter: Conda and Mamba #345

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Jupyter: Conda and Mamba #345

wants to merge 7 commits into from

Conversation

ax3l
Copy link

@ax3l ax3l commented Jan 21, 2021

Add hints on how to install complex software environments with mamba.
This overcomes some common conda issues.

Add hints from support on how to install ipympl widgets.
This avoids collisions in the overall document on
references with the same text.
@ax3l ax3l changed the title Jupyter: ipympl hints Jupyter: Conda and Mamba Jan 25, 2021
@ax3l
Copy link
Author

ax3l commented Jan 25, 2021

@proutrc @kincl @secondspass ready for review :)

@secondspass
Copy link
Contributor

@ax3l can you provide some context on what problems conda has in adding new libraries? It's a little unspecific and not clear what potential problems mamba solves.

@ax3l
Copy link
Author

ax3l commented Jan 27, 2021

@secondspass thanks for the feedback!

Yes, a main challenge is often that the conda default channels ship relatively old software, which are already present in the base environment. If people execute conda install ... the conda solver itself takes not only very long but also often finds undesired solutions, such as not picking up the latest release of requested software.

This is especially common when installing software from -c conda-forge on top of a non-empty, base environment with a couple of existing packages. mamba is a simple drop-in replacement for those tasks and is fully compatible with conda.

Some more info on the why's of mamba are in those blog posts:

I can add more of those details in the docs, just did not know how detailed I should get. What do you think?

@secondspass
Copy link
Contributor

That makes sense, can you write something like "since the conda dependency solver can sometimes be slow when adding packages and sometimes not pick up the latest release of a package, you can also use mamba..."? Just basic detail like that should be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants