"Verifying transaction: failed" Error in updating anaconda form anaconda prompt

12.2k Views Asked by At

I had been updating anaconda form "anaconda Prompt", i got following error i could not resolve the error can anyone please help me to resolve it

Downloading and Extracting Packages
libxslt-1.1.33       | 499 KB    | #################################### | 100%
libtiff-4.1.0        | 997 KB    | #################################### | 100%
sqlite-3.31.1        | 961 KB    | #################################### | 100%
krb5-1.17.1          | 846 KB    | #################################### | 100%
libxml2-2.9.9        | 3.5 MB    | #################################### | 100%
bzip2-1.0.8          | 150 KB    | #################################### | 100%
blosc-1.16.3         | 162 KB    | #################################### | 100%
libpng-1.6.37        | 598 KB    | #################################### | 100%
mkl-2020.0           | 156.1 MB  | #################################### | 100%
libcurl-7.68.0       | 284 KB    | #################################### | 100%
intel-openmp-2020.0  | 1.9 MB    | #################################### | 100%
libssh2-1.8.2        | 186 KB    | #################################### | 100%
Preparing transaction: done
Verifying transaction: failed

RemoveError: 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.

I have been using anaconda on window 7, 64 bit.

4

There are 4 best solutions below

0
On

This error is about you can not update setuptools in conda env, so you should update conda dependency as fllow 'conda update --update-deps conda' first. This worked for me.

0
On

After trying a number of way, I Could not resolve the issue. Finally, I uninstalled the anaconda, downloaded latest version form the anacondas website and re-installed it. However, now I have to reinstall all the packages, as well.

1
On

Have you tried the console run on administration mode? If not, verification would be failed due to the file writing authority absence.

0
On

You can do the following steps: 1- Run Anaconda command prompt as administrator 2-Execute the command: "conda update -n base -c defaults conda"