'Conda always shows '[y/N]' then nothing happen

OS: MacOS X 10.15.1

I met a problem that my Conda always shows [y/N] whatever command I input:

such as:

$ conda list
[y/N]:y
$ conda info
[y/N]:y

And after I input 'y', nothing happened and the process ends.

what I have tried: Reinstall Anaconda:

$ bash ~/Downloads/Anaconda3-2019.10-MacOSX-x86_64.sh

then after plenty of 'Extracting' it shows again.

(Extracting...)
[y/N]: %

Again, it ends.



Solution 1:[1]

The reason is some setting in '~/.condarc'. After I delete it, the problem solved, and Conda works well.

$ rm ~/.condarc

Solution 2:[2]

Another reason this can happen is if you have a conda environment already active that might be 'broken' in some way. To fix it:

conda deactivate

Then try your conda command again.

Solution 3:[3]

i had same issue and i fixed by updating anaconda sudo conda update anaconda command

Solution 4:[4]

I had the same issue, it was due to OOM (out of memory) on the system.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Xander Xu
Solution 2 poleguy
Solution 3 devmrh
Solution 4 Michael