How to fully uninstall pip installed with easy_install?












2















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?










share|improve this question

























  • what is your operating system?

    – philshem
    Feb 26 '14 at 19:48











  • 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
















2















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?










share|improve this question

























  • what is your operating system?

    – philshem
    Feb 26 '14 at 19:48











  • 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














2












2








2


1






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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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, 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



















  • what is your operating system?

    – philshem
    Feb 26 '14 at 19:48











  • 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

















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












3 Answers
3






active

oldest

votes


















6














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.






share|improve this answer
























  • 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 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



















1














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 pip If by previous command pip got uninstalled then this command wont run, else it will completely remove pip

  • Now check by giving command pip --version This should give pip is not recognized as an internal or external command






share|improve this answer































    1














    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.






    share|improve this answer

























      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
      });


      }
      });














      draft saved

      draft discarded


















      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









      6














      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.






      share|improve this answer
























      • 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 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
















      6














      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.






      share|improve this answer
























      • 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 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














      6












      6








      6







      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.






      share|improve this answer













      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.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      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 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



















      • 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 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

















      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













      1














      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 pip If by previous command pip got uninstalled then this command wont run, else it will completely remove pip

      • Now check by giving command pip --version This should give pip is not recognized as an internal or external command






      share|improve this answer




























        1














        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 pip If by previous command pip got uninstalled then this command wont run, else it will completely remove pip

        • Now check by giving command pip --version This should give pip is not recognized as an internal or external command






        share|improve this answer


























          1












          1








          1







          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 pip If by previous command pip got uninstalled then this command wont run, else it will completely remove pip

          • Now check by giving command pip --version This should give pip is not recognized as an internal or external command






          share|improve this answer













          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 pip If by previous command pip got uninstalled then this command wont run, else it will completely remove pip

          • Now check by giving command pip --version This should give pip is not recognized as an internal or external command







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 6 '18 at 6:36









          SravyaSravya

          213




          213























              1














              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.






              share|improve this answer






























                1














                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.






                share|improve this answer




























                  1












                  1








                  1







                  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.






                  share|improve 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.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 22 '18 at 14:39

























                  answered Aug 31 '18 at 2:40









                  TT--TT--

                  745726




                  745726






























                      draft saved

                      draft discarded




















































                      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.




                      draft saved


                      draft discarded














                      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





















































                      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







                      Popular posts from this blog

                      Paul Cézanne

                      UIScrollView CustomStickyHeader Resize height generates problems when scroll is too fast

                      Angular material date-picker (MatDatepicker) auto completes the date on focus out