-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 self-uninstall on Windows #188
Comments
The same type of problem happens when you try to upgrade pip itself. 'pip install -U pip' "succeeds" in the sense that pip gets upgraded, however This is not much of an problem since pip.exe is (hopefully) the last thing to
|
So, how do we uninstall this pip? I tried |
@pfmoore , the answer is "you can't do this on windows". period. right? |
Not easily. As @vbabiy said, you might be able to do this by running a new process to delete the final files, or use the "delete on next reboot" APIs. But it's very messy and not really worth it. |
I'm thinking we could improve "get-pip" to handle this case. |
This is necessary in order to replace pip.exe on Windows (see pypa/pip#188)
It tries to delete the executable it is running. I think you may need to launch another process to delete it later
The text was updated successfully, but these errors were encountered: