Clean Python Uninstallation from Windows 7












3















On my Windows 7 (64bit) machine, there are 3 Python installations that I want to completely purge from my system (so I can begin from scratch). The environments/setups have been split between Admin accounts and User accounts.



The problem is that I did not manage these installations, the environment, or configuration very well at all. Registry settings were mangled by hand (by me of course!), environment settings are excessively customized, global and user site-package locations are scattered, intermixed. Build directories and caches are all over my home directory. Non-standard PYTHONHOME locations.



I want to remove all of this cruft and rebuild my environments from a clean slate. Normally this is when I would reinstall Windows, but there are too many custom business applications installed and configured.



I plan to start by using built-in Uninstall procedures, but I am quite sure I will need to clean several things manually. Here is what I am worried about, and where I could use any advice you might have to offer. I am trying to avoid a week of downtime due to mysterious application conflicts.




  • Windows Registry Keys/Groups that may clobber a new installation if not deleted/reset.

  • User site-package locations where any cached files/builds/binaries might be laying around

  • Binary executable PATHS that may have been located outside of PYTHONBASE directories.


If I can get my Admin environment clean, I may just abandon my user profile and start with a fresh account. Any personal experiences or expert insight on Python administration under Windows will go a long way. I appreciate whatever you might be willing to share.










share|improve this question



























    3















    On my Windows 7 (64bit) machine, there are 3 Python installations that I want to completely purge from my system (so I can begin from scratch). The environments/setups have been split between Admin accounts and User accounts.



    The problem is that I did not manage these installations, the environment, or configuration very well at all. Registry settings were mangled by hand (by me of course!), environment settings are excessively customized, global and user site-package locations are scattered, intermixed. Build directories and caches are all over my home directory. Non-standard PYTHONHOME locations.



    I want to remove all of this cruft and rebuild my environments from a clean slate. Normally this is when I would reinstall Windows, but there are too many custom business applications installed and configured.



    I plan to start by using built-in Uninstall procedures, but I am quite sure I will need to clean several things manually. Here is what I am worried about, and where I could use any advice you might have to offer. I am trying to avoid a week of downtime due to mysterious application conflicts.




    • Windows Registry Keys/Groups that may clobber a new installation if not deleted/reset.

    • User site-package locations where any cached files/builds/binaries might be laying around

    • Binary executable PATHS that may have been located outside of PYTHONBASE directories.


    If I can get my Admin environment clean, I may just abandon my user profile and start with a fresh account. Any personal experiences or expert insight on Python administration under Windows will go a long way. I appreciate whatever you might be willing to share.










    share|improve this question

























      3












      3








      3








      On my Windows 7 (64bit) machine, there are 3 Python installations that I want to completely purge from my system (so I can begin from scratch). The environments/setups have been split between Admin accounts and User accounts.



      The problem is that I did not manage these installations, the environment, or configuration very well at all. Registry settings were mangled by hand (by me of course!), environment settings are excessively customized, global and user site-package locations are scattered, intermixed. Build directories and caches are all over my home directory. Non-standard PYTHONHOME locations.



      I want to remove all of this cruft and rebuild my environments from a clean slate. Normally this is when I would reinstall Windows, but there are too many custom business applications installed and configured.



      I plan to start by using built-in Uninstall procedures, but I am quite sure I will need to clean several things manually. Here is what I am worried about, and where I could use any advice you might have to offer. I am trying to avoid a week of downtime due to mysterious application conflicts.




      • Windows Registry Keys/Groups that may clobber a new installation if not deleted/reset.

      • User site-package locations where any cached files/builds/binaries might be laying around

      • Binary executable PATHS that may have been located outside of PYTHONBASE directories.


      If I can get my Admin environment clean, I may just abandon my user profile and start with a fresh account. Any personal experiences or expert insight on Python administration under Windows will go a long way. I appreciate whatever you might be willing to share.










      share|improve this question














      On my Windows 7 (64bit) machine, there are 3 Python installations that I want to completely purge from my system (so I can begin from scratch). The environments/setups have been split between Admin accounts and User accounts.



      The problem is that I did not manage these installations, the environment, or configuration very well at all. Registry settings were mangled by hand (by me of course!), environment settings are excessively customized, global and user site-package locations are scattered, intermixed. Build directories and caches are all over my home directory. Non-standard PYTHONHOME locations.



      I want to remove all of this cruft and rebuild my environments from a clean slate. Normally this is when I would reinstall Windows, but there are too many custom business applications installed and configured.



      I plan to start by using built-in Uninstall procedures, but I am quite sure I will need to clean several things manually. Here is what I am worried about, and where I could use any advice you might have to offer. I am trying to avoid a week of downtime due to mysterious application conflicts.




      • Windows Registry Keys/Groups that may clobber a new installation if not deleted/reset.

      • User site-package locations where any cached files/builds/binaries might be laying around

      • Binary executable PATHS that may have been located outside of PYTHONBASE directories.


      If I can get my Admin environment clean, I may just abandon my user profile and start with a fresh account. Any personal experiences or expert insight on Python administration under Windows will go a long way. I appreciate whatever you might be willing to share.







      windows python uninstall






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 27 '13 at 0:25









      user2097818user2097818

      3231314




      3231314






















          2 Answers
          2






          active

          oldest

          votes


















          0














          One suggestion I would make is that since searching the registry is so slow consider exporting the entire registry from regedit to a .reg - you can then use command line tool like grep -i to search for all occurrences of python in the .reg file and be able to navigate straight to the key(s).



          I would do the registry dump after doing the unistall and a restart so as to let the automatic processes do as much as possible.






          share|improve this answer































            0















            1. Use something like [Revo Uninstaller](Use something like [Revo Uninstaller]) which will run the standard Uninstall and then scan your registry and hard drive for remnants:



            Revo Uninstaller Pro helps you to uninstall software and remove
            unwanted programs easily. Even if you have problems uninstalling and
            cannot uninstall them from their own uninstaller, with its advanced
            and fast algorithms, Revo Uninstaller Pro analyzes, scans and removes
            all remnants after the uninstall of a program. The feature Forced
            Uninstall is the best solution when you have to remove stubborn
            programs, partially installed programs, partially uninstalled
            programs, and programs not listed as installed at all.





            1. Just to make sure Revo caught all file & directories, download & install the free Double Commander. Run it and hot Alt+F7 (menu Commands/Search). For directory to search, give all of your drives, separated by semicolons, e.g. c:;d:, and for FielName give python. Examine the results (if any., after Revo) & delete as appropriate.



            2. Check your path : Control Panel/System/Advanced System Settings/Environment Variables. You probably only need to check the path, which is in System variables, but why not take time to look at them all?



              Path/Edit and it's a teensy little box, so copy/paste it into your favo(u)rite text editor and examine/purge it.




            That should be it. I certainly can't think of anything else.



            If problems persist, Nukeit from orbit. It's the only way to be sure.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              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%2fsuperuser.com%2fquestions%2f681055%2fclean-python-uninstallation-from-windows-7%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              One suggestion I would make is that since searching the registry is so slow consider exporting the entire registry from regedit to a .reg - you can then use command line tool like grep -i to search for all occurrences of python in the .reg file and be able to navigate straight to the key(s).



              I would do the registry dump after doing the unistall and a restart so as to let the automatic processes do as much as possible.






              share|improve this answer




























                0














                One suggestion I would make is that since searching the registry is so slow consider exporting the entire registry from regedit to a .reg - you can then use command line tool like grep -i to search for all occurrences of python in the .reg file and be able to navigate straight to the key(s).



                I would do the registry dump after doing the unistall and a restart so as to let the automatic processes do as much as possible.






                share|improve this answer


























                  0












                  0








                  0







                  One suggestion I would make is that since searching the registry is so slow consider exporting the entire registry from regedit to a .reg - you can then use command line tool like grep -i to search for all occurrences of python in the .reg file and be able to navigate straight to the key(s).



                  I would do the registry dump after doing the unistall and a restart so as to let the automatic processes do as much as possible.






                  share|improve this answer













                  One suggestion I would make is that since searching the registry is so slow consider exporting the entire registry from regedit to a .reg - you can then use command line tool like grep -i to search for all occurrences of python in the .reg file and be able to navigate straight to the key(s).



                  I would do the registry dump after doing the unistall and a restart so as to let the automatic processes do as much as possible.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 13 '13 at 11:44









                  Steve BarnesSteve Barnes

                  20826




                  20826

























                      0















                      1. Use something like [Revo Uninstaller](Use something like [Revo Uninstaller]) which will run the standard Uninstall and then scan your registry and hard drive for remnants:



                      Revo Uninstaller Pro helps you to uninstall software and remove
                      unwanted programs easily. Even if you have problems uninstalling and
                      cannot uninstall them from their own uninstaller, with its advanced
                      and fast algorithms, Revo Uninstaller Pro analyzes, scans and removes
                      all remnants after the uninstall of a program. The feature Forced
                      Uninstall is the best solution when you have to remove stubborn
                      programs, partially installed programs, partially uninstalled
                      programs, and programs not listed as installed at all.





                      1. Just to make sure Revo caught all file & directories, download & install the free Double Commander. Run it and hot Alt+F7 (menu Commands/Search). For directory to search, give all of your drives, separated by semicolons, e.g. c:;d:, and for FielName give python. Examine the results (if any., after Revo) & delete as appropriate.



                      2. Check your path : Control Panel/System/Advanced System Settings/Environment Variables. You probably only need to check the path, which is in System variables, but why not take time to look at them all?



                        Path/Edit and it's a teensy little box, so copy/paste it into your favo(u)rite text editor and examine/purge it.




                      That should be it. I certainly can't think of anything else.



                      If problems persist, Nukeit from orbit. It's the only way to be sure.






                      share|improve this answer




























                        0















                        1. Use something like [Revo Uninstaller](Use something like [Revo Uninstaller]) which will run the standard Uninstall and then scan your registry and hard drive for remnants:



                        Revo Uninstaller Pro helps you to uninstall software and remove
                        unwanted programs easily. Even if you have problems uninstalling and
                        cannot uninstall them from their own uninstaller, with its advanced
                        and fast algorithms, Revo Uninstaller Pro analyzes, scans and removes
                        all remnants after the uninstall of a program. The feature Forced
                        Uninstall is the best solution when you have to remove stubborn
                        programs, partially installed programs, partially uninstalled
                        programs, and programs not listed as installed at all.





                        1. Just to make sure Revo caught all file & directories, download & install the free Double Commander. Run it and hot Alt+F7 (menu Commands/Search). For directory to search, give all of your drives, separated by semicolons, e.g. c:;d:, and for FielName give python. Examine the results (if any., after Revo) & delete as appropriate.



                        2. Check your path : Control Panel/System/Advanced System Settings/Environment Variables. You probably only need to check the path, which is in System variables, but why not take time to look at them all?



                          Path/Edit and it's a teensy little box, so copy/paste it into your favo(u)rite text editor and examine/purge it.




                        That should be it. I certainly can't think of anything else.



                        If problems persist, Nukeit from orbit. It's the only way to be sure.






                        share|improve this answer


























                          0












                          0








                          0








                          1. Use something like [Revo Uninstaller](Use something like [Revo Uninstaller]) which will run the standard Uninstall and then scan your registry and hard drive for remnants:



                          Revo Uninstaller Pro helps you to uninstall software and remove
                          unwanted programs easily. Even if you have problems uninstalling and
                          cannot uninstall them from their own uninstaller, with its advanced
                          and fast algorithms, Revo Uninstaller Pro analyzes, scans and removes
                          all remnants after the uninstall of a program. The feature Forced
                          Uninstall is the best solution when you have to remove stubborn
                          programs, partially installed programs, partially uninstalled
                          programs, and programs not listed as installed at all.





                          1. Just to make sure Revo caught all file & directories, download & install the free Double Commander. Run it and hot Alt+F7 (menu Commands/Search). For directory to search, give all of your drives, separated by semicolons, e.g. c:;d:, and for FielName give python. Examine the results (if any., after Revo) & delete as appropriate.



                          2. Check your path : Control Panel/System/Advanced System Settings/Environment Variables. You probably only need to check the path, which is in System variables, but why not take time to look at them all?



                            Path/Edit and it's a teensy little box, so copy/paste it into your favo(u)rite text editor and examine/purge it.




                          That should be it. I certainly can't think of anything else.



                          If problems persist, Nukeit from orbit. It's the only way to be sure.






                          share|improve this answer














                          1. Use something like [Revo Uninstaller](Use something like [Revo Uninstaller]) which will run the standard Uninstall and then scan your registry and hard drive for remnants:



                          Revo Uninstaller Pro helps you to uninstall software and remove
                          unwanted programs easily. Even if you have problems uninstalling and
                          cannot uninstall them from their own uninstaller, with its advanced
                          and fast algorithms, Revo Uninstaller Pro analyzes, scans and removes
                          all remnants after the uninstall of a program. The feature Forced
                          Uninstall is the best solution when you have to remove stubborn
                          programs, partially installed programs, partially uninstalled
                          programs, and programs not listed as installed at all.





                          1. Just to make sure Revo caught all file & directories, download & install the free Double Commander. Run it and hot Alt+F7 (menu Commands/Search). For directory to search, give all of your drives, separated by semicolons, e.g. c:;d:, and for FielName give python. Examine the results (if any., after Revo) & delete as appropriate.



                          2. Check your path : Control Panel/System/Advanced System Settings/Environment Variables. You probably only need to check the path, which is in System variables, but why not take time to look at them all?



                            Path/Edit and it's a teensy little box, so copy/paste it into your favo(u)rite text editor and examine/purge it.




                          That should be it. I certainly can't think of anything else.



                          If problems persist, Nukeit from orbit. It's the only way to be sure.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jan 11 at 7:31









                          MawgMawg

                          1,44453051




                          1,44453051






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • 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%2fsuperuser.com%2fquestions%2f681055%2fclean-python-uninstallation-from-windows-7%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

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                              Eduardo VII do Reino Unido