How to Upgrade From Python 2.5 to 2.6
- 1). Download the source tarball for Python 2.6.7 (the stable 2.6 release).
- 2). Open a terminal. From your Applications folder, select "Utilities" followed by "Terminal."
- 3). Navigate to the location of the downloaded tar file. In the terminal, type
tar xvfz Python-2.6.7.tgz
to unpack the file. - 4). Navigate to the newly created directory (Python-2.6.7). In the terminal, type
./configure
followed by
sudo make install
Enter the sudo password when prompted. The Python 2.6 installer will begin, overwriting Python 2.5.