I am running OSX Catalina. After downloading Anaconda, I'm having trouble downloading external packages
. I tried in both the GUI and the terminal, but the process keeps getting stuck at "Solving environment".
I understand creating a new environment can be a workaround, but I would rather fix the issue at hand.
Any ideas?
Conda takes 20+ minutes to solve environment when package is already installed.
To exit the virtual environment, use the command conda deactivate . If you run conda info --envs again, there is no * in front of env_name . That's because the env_name virtual environment is no longer active.
To Solve Solving environment: failed with initial frozen solve. Retrying with flexible solve Error Just create an env and activate that env and then do the install and your error will be solved.
This takes about 15 minutes to complete and works for ESMValTool v2. 4.0 as well :) Beta Was this translation helpful?
The following steps may work to resolve the issue.
conda config --remove channels conda-forge
conda config --add channels conda-forge
if it doesn't work then try this
conda update conda
if nothing works try seeing this github solution, it worked for many.
use this:
conda config --set channel_priority strict
pay attention that it is channel_priority and not priority_channel
running
conda config --set channel_priority flexible
worked for me
Update, still ran into some issues so I found Mamba, and oh my god my life changed conda is the worst package manager ever
all my issues were solved when I used mamba
# install mamba
conda install -n base conda-forge::mamba
# use mamba
mamba install pandas
Please, check that python is actually listed in environment.yml
or conda create -n your_environment --file requirements.txt python=3.7
.
Otherwise, conda is traversing all versions of python available.
Check that Python is listed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With