'Anaconda Installation stuck at - 'Setting up the package cache'
I am trying to install Anaconda V 3.7 on Windows 10 - 64 bit system. Download was successful.In installation step extraction of packages also completed. After that it gets stuck at one point where message shown on window is - 'Setting up the package cache'.
I removed all previous versions of Python/Conda from my system.Removed path from environment variable still getting this error.
Solution 1:[1]
I too was desperate on this.But being on a limited data-plan, I couldn't reattempt another download of the previous version of Anaconda as suggested in the above answer. So instead I waited and in 9 minutes exactly, the status changed from Setting up the package cache to Setting up the base environment.
I would suggest wait a little more and hopefully, the installation would finish!
Solution 2:[2]
I had the same problem as you. My guess is that the current version for Windows is unstable. My solution was to go to the anaconda archive page:
https://repo.continuum.io/archive/
and download the second newest version, i.e. Anaconda3-2019.10-Windows-x86_64.exe 461.5M 2019-10-15 09:27:17. This one turns out to be stable and the installation was finished in 3 minutes.
Solution 3:[3]
You have to wait significantly longer (around 10 minutes) than the previous version since the file is a lot larger and new Anaconda integrates a lot more stuff. It isn't unstable.

Solution 4:[4]
I had the same issue, and solved it (apparently; tried several commands in the CONDA prompt, Spyder and Jupyter notebooks and all worked fine) by entering the Application manager, entered the Anaconda installer which had several processes running, and after making sure all of the were idle (0% CPU consumption) for a while, I killed one of the two prompt consoles running. One is conhost.exe, I killed the other one, and the installation followed the rest of steps flawlessly.
PS: this was a Anaconda update. I already had problems when installing CONDA on my laptop three years ago. Got trouble again. I find it difficult to believe that such a problematic environment is the most common tool to run Python code on Windows. R/RStudio is by far much more robust, user friendly and flawless than this Anaconda suite.
Solution 5:[5]
Tried several versions - didn't help. Just install Miniconda - worked for me
Solution 6:[6]
I faced the same issue when i tried to install below version. I was running some heavy process while installation that also makes more delay.
Anaconda3-2021.11-Windows-x86_64
I suggest you to wait for sometime and the installation will complete without any issues.
Solution 7:[7]
I tried to install Anaconda3-2022.05-Windows-x86_64 on Windows 11. What worked for me: after rebooting I've run the installation again installing Anaconda for my user only (not for all users). It took ages but it was successful
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 | Yashasvi Bajpai |
| Solution 2 | Joel |
| Solution 3 | Sumit Pokhrel |
| Solution 4 | Guillermo Luijk |
| Solution 5 | diman82 |
| Solution 6 | Shanmugarajan |
| Solution 7 | filiphagan |
