Skip to content Skip to sidebar Skip to footer

Trying To Use Conda Install To Get Anaconda-clean But Environment Fails To Solve And A Very Slow Analysis Of Conflicts Starts

I have been having a lot of issues with anaconda recently. It began with me not being able to install packages using conda install, each time resulting the following error: CondaHT

Solution 1:

You can run anaconda-clean anywhere, i.e., you don't have to install it to your base env.

conda create -n cleaner anaconda-clean
conda activate cleaner
anaconda-clean

Also, it's simply a glorified file remover. It detects and prompts you to delete the following files/directories:

FILES = [
    '.anaconda', '.astropy', '.continuum',
    '.conda', '.condamanager', '.condarc',
    '.enthought', '.idlerc', '.glue', '.ipynb_checkpoints', '.ipython',
    '.jupyter', '.matplotlib', '.python-eggs',
    '.spyder2', '.spyder2-py3', '.theano',
]

listed in the source code. You can probably do this manually much faster. I think the utility of anaconda-clean lands more for sys admins.

Post a Comment for "Trying To Use Conda Install To Get Anaconda-clean But Environment Fails To Solve And A Very Slow Analysis Of Conflicts Starts"