-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't uninstall miniconda (after failed install): "Failed to run pre_uninstall" #13381
Comments
Could you tell me which Miniconda installer you used and what the error during the installation was? Generally, those messages shouldn't be ignored because they point to actual problems. There is a way to clean up the system manually. As with most Windows software, this is a little involved, but the steps are below. Depending on when the installation failed and which options you checked, some steps may not be necessary. This assumes that you don't have any other Miniconda installation on the system before you tried to install it.
Once all that is done, your system should be free of Miniconda traces. Go ahead and run the installer again and let me know which error you are seeing. Things that will help debugging are:
|
Thanks @marcoesters. Really appreciate the help. Here are the answers to your questions:
Miniconda still showing in add/remove programs (but for python Will hold off on reinstalling until i hear about this uninstall (and in case anything above changes your diagnosis). I assume i should get things removed before reinstalling them. Thanks again for the help. |
Possibly. I have no observed a Miniconda directory inside
Since you installed into
We need to be careful here. Please make sure that the directory points to a Miniconda/Anaconda directory. I suspect that
Yes, that is expected to fail. The entries in "add/remove programs" are just entries found in the However, that also means that we haven't found the entry yet. There are two possible locations:
Yes, that is prudent or debugging will get difficult. Since you already have another Python 3.12 installation on your system, I also suggest you use our Python 3.11 installer while we figure out what's going on: https://repo.anaconda.com/miniconda/Miniconda3-py311_24.3.0-0-Windows-x86_64.exe |
@marcoesters Thanks again for your follow up.
I fear that what happened is that i tried installing Ok, with all of this now as it is, should I look to install miniconda again with the Python 3.11 installer, or is there some other check to run to make sure the previous mess is fully cleaned up? Thanks again. |
Yes, I think you are good to go to install the python 3.11 version now. Since the uninstallation problem is solved, I will go ahead and close this issue. If you run into problems installing, please open a new issue so that other users can easily find it. Please include a screenshot of the error and paste the output of the log you see during the installation (right-click on the output and copy to clipboard - this will copy the entire log). Thanks! |
Will do. Thanks so much for your help! New issue created regarding the ongoing install issues: #13386 |
Checklist
Impacted product
What happened?
On Windows 11. I am trying to uninstall miniconda. I run the uninstaller but get the message: "Failed to run pre_uninstall". Note this was after a failed install when I got a similar message during the installer. Searching online i saw that you should just ignore this message, during the install. I did that but the install failed - I could not access conda from the cmd line. Now i can' uninstall.
If, during the uninstall, I ignore the "Failed to run pre_uninstall" prompt, I get another error: "Failed to run rmpath". If i ignore that i get another one: "Failed to run rmreg". If i ignore that, the uninstaller completes. I finish and exit, however miniconda remains in my programs - even though its not working.
I can't run conda info/conda config as conda did not install.
How can i clean everything up to try and get things installed correctly?
Expected behavior or outcome
Miniconda will uninstall.
Conda info
No response
Conda config
No response
Conda list
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: