Score:0

Conda hangs when installing new Python version

in flag

Some of the output of conda search python is:

# Name                       Version           Build  Channel             
python                         3.9.0 h2a148a8_4_cpython  conda-forge         
python                         3.9.0 h852b56e_1_cpython  conda-forge         
python                         3.9.0 h852b56e_2_cpython  conda-forge         
python                         3.9.0 h852b56e_3_cpython  conda-forge         
python                         3.9.0      hcff3b4d_1  pkgs/main           
python                         3.9.0      hdb3f193_2  pkgs/main           
python                         3.9.0 hffdb5ce_5_cpython  conda-forge         
python                         3.9.1      hdb3f193_2  pkgs/main           
python                         3.9.1 hffdb5ce_0_cpython  conda-forge         
python                         3.9.1 hffdb5ce_1_cpython  conda-forge         
python                         3.9.1 hffdb5ce_2_cpython  conda-forge         
python                         3.9.1 hffdb5ce_3_cpython  conda-forge         
python                         3.9.1 hffdb5ce_4_cpython  conda-forge         
python                         3.9.1 hffdb5ce_5_cpython  conda-forge         
python                         3.9.2      hdb3f193_0  pkgs/main           
python                         3.9.2 hffdb5ce_0_cpython  conda-forge         
python                         3.9.4      hdb3f193_0  pkgs/main           
python                         3.9.4 hffdb5ce_0_cpython  conda-forge         
python                         3.9.5      h12debd9_4  pkgs/main           
python                         3.9.5 h49503c6_0_cpython  conda-forge         
python                         3.9.5      hdb3f193_3  pkgs/main           
python                         3.9.6      h12debd9_0  pkgs/main           
python                         3.9.6      h12debd9_1  pkgs/main           
python                         3.9.6 h49503c6_0_cpython  conda-forge         
python                         3.9.6 h49503c6_1_cpython  conda-forge         
python                         3.9.7      h12debd9_1  pkgs/main           
python                         3.9.7 h49503c6_0_cpython  conda-forge         
python                         3.9.7 hb7a2778_1_cpython  conda-forge         
python                         3.9.7 hb7a2778_2_cpython  conda-forge         
python                         3.9.7 hb7a2778_3_cpython  conda-forge         
python                         3.9.7 hf930737_3_cpython  conda-forge         
python                         3.9.9 h543edf9_0_cpython  conda-forge         
python                         3.9.9 h62f1059_0_cpython  conda-forge         
python                        3.9.10 h85951f9_0_cpython  conda-forge         
python                        3.9.10 h85951f9_1_cpython  conda-forge         
python                        3.9.10 h85951f9_2_cpython  conda-forge         
python                        3.9.10 hc74c709_0_cpython  conda-forge         
python                        3.9.10 hc74c709_1_cpython  conda-forge         
python                        3.9.10 hc74c709_2_cpython  conda-forge

When I do conda install python=3.9 --channel conda-forge I get:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: / failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \

It just hangs there. What to do?

Someone avatar
my flag
A workaround is to run `conda create --name askubuntu && conda activate askubuntu`
Joel Castro avatar
in flag
@Someone is this a serious answer?
Someone avatar
my flag
it's a [workaround](https://en.m.wikipedia.org/wiki/Workaround), it's not the correct way to fix but will fix the issue. You may change `askubuntu` to something of your choice in the command.
Joel Castro avatar
in flag
@Someone it worked, thanks. Will leave issue open in case someone wants to state the correct way to do it. Thanks
Score:1
my flag

A work around is to create and activate a new virtual environment for conda:

conda create --name workaround
conda activate workaround
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.