I've been trying to get libmamba solver to work with my conda env, and I don't think the instructions provided in this doc are correct. On the libmamba page, it says "The instructions in this page assume you are using conda-libmamba-solver 22.12 or above." Our conda distribution for
conda-analytics is currently 4.13.0, and running
conda update -n base conda to update conda to a newer version doesn't work because of denied permissions. This (for the moment, at least) renders the libmamba documentation incorrect, because libmamba can't be used with our internal systems. Htriedman (talk) 19:37, 12 July 2023 (UTC)
conda config --set solver libmambawithout a conda upgrade first yields the following error:
CondaValueError: Key 'solver' is not a known primitive parameter.Htriedman (talk) 19:40, 12 July 2023 (UTC)
Using Jupyter to migrate from anaconda-wmf to conda-analytics
From Jupyter Console:
- Select File -> Hub Control Panel This will open a new tab with ‘Stop My Server’ and ‘Start My Server’ buttons.
- Select ‘Stop My Server’ and then, when ready, ‘Start My Server’
- From the ‘Select a job profile:’ pulldown menu select ‘Create and use new cloned conda environment…’ The ‘Spawning server…’ progress bar will run, once completed you should get a Server Ready message, tab will open a new console window. If the initial cloning action fails you may need to logout and re-try again.
- To test that you are indeed operating in conda-analytics open a Terminal and run command `conda list | grep spark`
If clone was successful you will see the following version numbers:
When you next login to use Jupyter you should be operating in the new conda-analytics env.
- @Shay Nowick thank you for writing these great instructions! I think you should add them to the page itself rather than just to the talk page 😊 Neil P. Quinn-WMF (talk) 09:16, 23 February 2023 (UTC)
- +1 to what @Neil P. Quinn-WMF said Bearloga (talk) 15:20, 23 February 2023 (UTC)