How to fully uninstall pip installed with easy_install?
On Windows 7, I install pip with easy_install and want to install a lower version of pip.
I want to remove the old version, but have no idea how to completely remove the pip installed by easy_install (or if there is a way to do it without going through easy_install, that is fine). How do I do this?
python pip easy-install
add a comment |
On Windows 7, I install pip with easy_install and want to install a lower version of pip.
I want to remove the old version, but have no idea how to completely remove the pip installed by easy_install (or if there is a way to do it without going through easy_install, that is fine). How do I do this?
python pip easy-install
what is your operating system?
– philshem
Feb 26 '14 at 19:48
Added to original post.
– Rolando
Feb 26 '14 at 20:21
Ironically,pipis intended to replaceeasy_installto a large extent to enable consistent package update and uninstall...
– SingleNegationElimination
Feb 26 '14 at 22:04
add a comment |
On Windows 7, I install pip with easy_install and want to install a lower version of pip.
I want to remove the old version, but have no idea how to completely remove the pip installed by easy_install (or if there is a way to do it without going through easy_install, that is fine). How do I do this?
python pip easy-install
On Windows 7, I install pip with easy_install and want to install a lower version of pip.
I want to remove the old version, but have no idea how to completely remove the pip installed by easy_install (or if there is a way to do it without going through easy_install, that is fine). How do I do this?
python pip easy-install
python pip easy-install
edited Feb 26 '14 at 20:37
Rolando
asked Feb 26 '14 at 19:22
RolandoRolando
11.4k64169286
11.4k64169286
what is your operating system?
– philshem
Feb 26 '14 at 19:48
Added to original post.
– Rolando
Feb 26 '14 at 20:21
Ironically,pipis intended to replaceeasy_installto a large extent to enable consistent package update and uninstall...
– SingleNegationElimination
Feb 26 '14 at 22:04
add a comment |
what is your operating system?
– philshem
Feb 26 '14 at 19:48
Added to original post.
– Rolando
Feb 26 '14 at 20:21
Ironically,pipis intended to replaceeasy_installto a large extent to enable consistent package update and uninstall...
– SingleNegationElimination
Feb 26 '14 at 22:04
what is your operating system?
– philshem
Feb 26 '14 at 19:48
what is your operating system?
– philshem
Feb 26 '14 at 19:48
Added to original post.
– Rolando
Feb 26 '14 at 20:21
Added to original post.
– Rolando
Feb 26 '14 at 20:21
Ironically,
pip is intended to replace easy_install to a large extent to enable consistent package update and uninstall...– SingleNegationElimination
Feb 26 '14 at 22:04
Ironically,
pip is intended to replace easy_install to a large extent to enable consistent package update and uninstall...– SingleNegationElimination
Feb 26 '14 at 22:04
add a comment |
3 Answers
3
active
oldest
votes
There is no completely automatic uninstall but you can do it in two steps:
easy_install -m pip
This should remove pip from easy-install.pth and print the full path to where pip is installed. Now just manually remove the path that the previous command printed. Or you could just manually edit easy-install.pth and remove the pip sources if you know where they are located.
What files should I delete? Where would all the easy_install pip files be located? Is it really just the pip-1.5.4-py2.7.egg file referenced in it?
– Rolando
Feb 26 '14 at 22:53
Just the .egg file or folder.
– Heikki Toivonen
Feb 26 '14 at 23:06
Actually I realized that if the package that was installed includes user scripts, like I believe pip does, then those would still be left behind by the above. In case of pip there is probably a file calledpipin the same location where easy_install is. This doesn't really matter if you install another version of pip because the other version's install will overwrite the scripts anyway.
– Heikki Toivonen
Feb 26 '14 at 23:28
add a comment |
To uninstall pip in windows:
- Run command prompt as administrator
- Give the command
easy_install -m pip
- This may not uninstall pip completely. So again give this command
pip uninstall pipIf by previous command pip got uninstalled then this command wont run, else it will completely remove pip - Now check by giving command
pip --versionThis should give pip is not recognized as an internal or external command
add a comment |
I found that the following command worked.
It deleted the installed files and the .egg directory.
It also provided a confirmation prompt.
pip uninstall pip
From this answer.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f22051158%2fhow-to-fully-uninstall-pip-installed-with-easy-install%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
There is no completely automatic uninstall but you can do it in two steps:
easy_install -m pip
This should remove pip from easy-install.pth and print the full path to where pip is installed. Now just manually remove the path that the previous command printed. Or you could just manually edit easy-install.pth and remove the pip sources if you know where they are located.
What files should I delete? Where would all the easy_install pip files be located? Is it really just the pip-1.5.4-py2.7.egg file referenced in it?
– Rolando
Feb 26 '14 at 22:53
Just the .egg file or folder.
– Heikki Toivonen
Feb 26 '14 at 23:06
Actually I realized that if the package that was installed includes user scripts, like I believe pip does, then those would still be left behind by the above. In case of pip there is probably a file calledpipin the same location where easy_install is. This doesn't really matter if you install another version of pip because the other version's install will overwrite the scripts anyway.
– Heikki Toivonen
Feb 26 '14 at 23:28
add a comment |
There is no completely automatic uninstall but you can do it in two steps:
easy_install -m pip
This should remove pip from easy-install.pth and print the full path to where pip is installed. Now just manually remove the path that the previous command printed. Or you could just manually edit easy-install.pth and remove the pip sources if you know where they are located.
What files should I delete? Where would all the easy_install pip files be located? Is it really just the pip-1.5.4-py2.7.egg file referenced in it?
– Rolando
Feb 26 '14 at 22:53
Just the .egg file or folder.
– Heikki Toivonen
Feb 26 '14 at 23:06
Actually I realized that if the package that was installed includes user scripts, like I believe pip does, then those would still be left behind by the above. In case of pip there is probably a file calledpipin the same location where easy_install is. This doesn't really matter if you install another version of pip because the other version's install will overwrite the scripts anyway.
– Heikki Toivonen
Feb 26 '14 at 23:28
add a comment |
There is no completely automatic uninstall but you can do it in two steps:
easy_install -m pip
This should remove pip from easy-install.pth and print the full path to where pip is installed. Now just manually remove the path that the previous command printed. Or you could just manually edit easy-install.pth and remove the pip sources if you know where they are located.
There is no completely automatic uninstall but you can do it in two steps:
easy_install -m pip
This should remove pip from easy-install.pth and print the full path to where pip is installed. Now just manually remove the path that the previous command printed. Or you could just manually edit easy-install.pth and remove the pip sources if you know where they are located.
answered Feb 26 '14 at 21:13
Heikki ToivonenHeikki Toivonen
20.9k103642
20.9k103642
What files should I delete? Where would all the easy_install pip files be located? Is it really just the pip-1.5.4-py2.7.egg file referenced in it?
– Rolando
Feb 26 '14 at 22:53
Just the .egg file or folder.
– Heikki Toivonen
Feb 26 '14 at 23:06
Actually I realized that if the package that was installed includes user scripts, like I believe pip does, then those would still be left behind by the above. In case of pip there is probably a file calledpipin the same location where easy_install is. This doesn't really matter if you install another version of pip because the other version's install will overwrite the scripts anyway.
– Heikki Toivonen
Feb 26 '14 at 23:28
add a comment |
What files should I delete? Where would all the easy_install pip files be located? Is it really just the pip-1.5.4-py2.7.egg file referenced in it?
– Rolando
Feb 26 '14 at 22:53
Just the .egg file or folder.
– Heikki Toivonen
Feb 26 '14 at 23:06
Actually I realized that if the package that was installed includes user scripts, like I believe pip does, then those would still be left behind by the above. In case of pip there is probably a file calledpipin the same location where easy_install is. This doesn't really matter if you install another version of pip because the other version's install will overwrite the scripts anyway.
– Heikki Toivonen
Feb 26 '14 at 23:28
What files should I delete? Where would all the easy_install pip files be located? Is it really just the pip-1.5.4-py2.7.egg file referenced in it?
– Rolando
Feb 26 '14 at 22:53
What files should I delete? Where would all the easy_install pip files be located? Is it really just the pip-1.5.4-py2.7.egg file referenced in it?
– Rolando
Feb 26 '14 at 22:53
Just the .egg file or folder.
– Heikki Toivonen
Feb 26 '14 at 23:06
Just the .egg file or folder.
– Heikki Toivonen
Feb 26 '14 at 23:06
Actually I realized that if the package that was installed includes user scripts, like I believe pip does, then those would still be left behind by the above. In case of pip there is probably a file called
pip in the same location where easy_install is. This doesn't really matter if you install another version of pip because the other version's install will overwrite the scripts anyway.– Heikki Toivonen
Feb 26 '14 at 23:28
Actually I realized that if the package that was installed includes user scripts, like I believe pip does, then those would still be left behind by the above. In case of pip there is probably a file called
pip in the same location where easy_install is. This doesn't really matter if you install another version of pip because the other version's install will overwrite the scripts anyway.– Heikki Toivonen
Feb 26 '14 at 23:28
add a comment |
To uninstall pip in windows:
- Run command prompt as administrator
- Give the command
easy_install -m pip
- This may not uninstall pip completely. So again give this command
pip uninstall pipIf by previous command pip got uninstalled then this command wont run, else it will completely remove pip - Now check by giving command
pip --versionThis should give pip is not recognized as an internal or external command
add a comment |
To uninstall pip in windows:
- Run command prompt as administrator
- Give the command
easy_install -m pip
- This may not uninstall pip completely. So again give this command
pip uninstall pipIf by previous command pip got uninstalled then this command wont run, else it will completely remove pip - Now check by giving command
pip --versionThis should give pip is not recognized as an internal or external command
add a comment |
To uninstall pip in windows:
- Run command prompt as administrator
- Give the command
easy_install -m pip
- This may not uninstall pip completely. So again give this command
pip uninstall pipIf by previous command pip got uninstalled then this command wont run, else it will completely remove pip - Now check by giving command
pip --versionThis should give pip is not recognized as an internal or external command
To uninstall pip in windows:
- Run command prompt as administrator
- Give the command
easy_install -m pip
- This may not uninstall pip completely. So again give this command
pip uninstall pipIf by previous command pip got uninstalled then this command wont run, else it will completely remove pip - Now check by giving command
pip --versionThis should give pip is not recognized as an internal or external command
answered Jul 6 '18 at 6:36
SravyaSravya
213
213
add a comment |
add a comment |
I found that the following command worked.
It deleted the installed files and the .egg directory.
It also provided a confirmation prompt.
pip uninstall pip
From this answer.
add a comment |
I found that the following command worked.
It deleted the installed files and the .egg directory.
It also provided a confirmation prompt.
pip uninstall pip
From this answer.
add a comment |
I found that the following command worked.
It deleted the installed files and the .egg directory.
It also provided a confirmation prompt.
pip uninstall pip
From this answer.
I found that the following command worked.
It deleted the installed files and the .egg directory.
It also provided a confirmation prompt.
pip uninstall pip
From this answer.
edited Nov 22 '18 at 14:39
answered Aug 31 '18 at 2:40
TT--TT--
745726
745726
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f22051158%2fhow-to-fully-uninstall-pip-installed-with-easy-install%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
what is your operating system?
– philshem
Feb 26 '14 at 19:48
Added to original post.
– Rolando
Feb 26 '14 at 20:21
Ironically,
pipis intended to replaceeasy_installto a large extent to enable consistent package update and uninstall...– SingleNegationElimination
Feb 26 '14 at 22:04