Before performing anyinstallations/uninstallations, make sure you make a backup copy of yourown programs in case anything important is accidentally deleted.
If you currently have an older Python version installed, westrongly recommend that you first uninstall it before installingPython 2.5 to avoid any ambiguity in calls to thePython interpreter python.exe. InstallingPython 2.5may seem to work even without uninstalling previous versions, butsystem calls to Python will pointto python.exe in the 2.5 directory while, for example, certain files such as an old iPython script may still be invoking the previousPython version, which may behave differently or possibly crash.
- Go to Control Panel and select Add or Remove Programs
- Assuming you have an older version X.Y installed, scrollthrough the list of programs, and for each Python X.Y package thathas been installed, select it in the list and click Remove.
Note that most packages will be listed as Python X.Y package_name-package_version, such as Python 2.5 numpy-1.0.4, but a few packages such as wxPython, listed as wxPython 2.8.7.1 (unicode) for Python 2.5, may not follow that convention, necessitating that you search the entire program list for packages.
- The directory C:\PythonXY\ will still exist, so it is recommended that that directory be deleted to avoid confusion (make sure any code you have in there is backed up before deleting the directory!!!)
- Remove any shortcuts to Python X.Y or IPython that may still be under the Start menu.