The current (as of April 2012) version of Python distributed with Cygwin is 2.6.7. If you need version 2.7.x (with x in {1,2,3}), here are patches and instructions.
_bsddb _sqlite3 _tkinter bsddb185 linuxaudiodev nis ossaudiodev spwd sunaudiodev
1. Download the desired version from http://www.python.org/ftp/python/. Here are the direct links: Python-2.7.1.tar.bz2, Python-2.7.2.tar.bz2, or Python-2.7.3.tar.bz2.
2. Download the matching patch Python-2.7.1-cygwin.patch.bz2, Python-2.7.2-cygwin.patch.bz2, or Python-2.7.3-cygwin.patch.bz2.
3. Unpack the sources, for example for 2.7.2.
tar -jxvf Python-2.7.2.tar.bz2
4. Patch the sources, for example for 2.7.2.
bzcat Python-2.7.2-cygwin.patch.bz2 | patch -p0
5. Configure the build. For example, you may want to install into /usr/local.
cd Python-2.7.2
./configure --prefix=/usr/local
6. Compile the configured sources.
make
7. Install the compiled build.
make install
Send comments to mayer@tux.org.
Back to the previous page.
First posted: Sun Apr 29 17:33:15 PDT 2012
Last updated: Tue May 8 10:55:46 PDT 2012