Creating a conda environment is taking a long time #2132
-
The conda environment creation during development mode installation is taking hours. Should I wait or kill the process? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 4 replies
-
Conda environment installation of the tool can take time but not several hours. You could try stopping, removing any partially created environment with a conda remove and try again. |
Beta Was this translation helpful? Give feedback.
-
Related to this topic, a warning for future users who like to take shortcuts: If, like me, you thought that using the Jaspy installation of conda on Jasmin might save you time, don't bother. It's an old version of conda and you can't update it. For me, it lead to an eternity of "Solving environment"... |
Beta Was this translation helpful? Give feedback.
-
When using my own conda installation on Jasmin, the "common issues" tips on this tutorial page solved my problem for a basic installation (no ESMValTool branch). Specifically, I needed to add the python=3.9 package spec as a positional argument:
|
Beta Was this translation helpful? Give feedback.
-
There is some advice available on this topic in the installation FAQ. If even that fails, you could try using |
Beta Was this translation helpful? Give feedback.
-
Just in case it is helpful, what works well for me is to specify only the
This takes about 15 minutes to complete and works for ESMValTool v2.4.0 as well :) |
Beta Was this translation helpful? Give feedback.
-
@ehogan and others, with the release of v2.4.0 we have moved to a pure mamba/mambaforge installation procedure: what used to be miniconda it is now mambaforge, and what used to be calls to conda it is now calls to mamba (yes, we like snakes 🐍 ). So I recommend you guys use those new instructions; of course there are variations depending on what the user prefers: you can still use miniconda but install mamba and use it as a dependency solver/environment builder. In all cases, try to not use |
Beta Was this translation helpful? Give feedback.
Conda environment installation of the tool can take time but not several hours. You could try stopping, removing any partially created environment with a conda remove and try again.
You could also check where it is stalling to identify any specific problems.