Cygwin does not have Python 2.7 anymore since a few days

andreas.r.maier's Avatar


12 Nov, 2019 10:28 AM

Hi, we are using both native Windows and CygWin with several Python versions. Since a few days, CygWin 64-bit does not seem to have a python2.7 command anymore.

Are you aware of any change that may have caused this?
Do we need to do anything different to make this work again?


  1. Support Staff 1 Posted by Feodor Fitsner on 13 Nov, 2019 05:08 AM

    Feodor Fitsner's Avatar

    Hi Andy,

    Indeed, cygwin has been re-installed during the last update:

    Is there any component missing? This is the script we use to install cygwin on build image:

  2. 2 Posted by andreas.r.maier on 13 Nov, 2019 01:42 PM

    andreas.r.maier's Avatar

    Hi Feodor. Yes, Python 2.7 is missing now and was there before the change. I issued a find command in our Appveyor runs on CygWin, and there is only /usr/bin/python3.6m.exe, but no other version of a python*.exe.

    Can Python 2.7 be re-established in CygWin?

  3. 3 Posted by andreas.r.maier on 13 Nov, 2019 01:48 PM

    andreas.r.maier's Avatar

    I checked the script you have linked above. There is nothing in the script that has changed to cause this. It must have changed in CygWin, then.

  4. 4 Posted by andreas.r.maier on 13 Nov, 2019 02:37 PM

    andreas.r.maier's Avatar

    I ran "cygcheck -c -d" and here is what it reports about packages with "python" in the package name:

    python 2.7.16-1
    python-pip-wheel 19.2.3-1
    python-setuptools-wheel 41.2.0-1
    python3 3.6.8-1
    python36 3.6.9-1

    That means that Python 2.7 is supposed to be installed.

    However, the only python programs in the PATH are:


    /usr/bin/python3 /usr/bin/python3.6 /usr/bin/python3.6m.exe

    Previously, a python2.7 command was in that same PATH.

  5. Support Staff 5 Posted by Feodor Fitsner on 13 Nov, 2019 06:01 PM

    Feodor Fitsner's Avatar

    Looks like python2 should be explicitly installed to get Python 2.7. We'll modify image script, you can use the following workaround for now:

    cmd /c start /wait C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -P python2
  6. 6 Posted by andreas.r.maier on 27 Nov, 2019 02:46 AM

    andreas.r.maier's Avatar

    Hi Feodor. I added the command to install python2 as you suggested, and that worked. This issue can be closed from my perspective.

    Thanks for the help!!

  7. Support Staff 7 Posted by Feodor Fitsner on 27 Nov, 2019 03:09 AM

    Feodor Fitsner's Avatar

    Cool, thanks for the update!

  8. andreas.r.maier closed this discussion on 16 Mar, 2020 10:59 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

07 Jul, 2020 06:21 PM
07 Jul, 2020 03:15 PM
05 Jul, 2020 02:33 AM
03 Jul, 2020 07:29 PM
03 Jul, 2020 03:53 AM


02 Jul, 2020 09:09 PM
02 Jul, 2020 03:24 PM
01 Jul, 2020 01:12 PM
30 Jun, 2020 04:26 PM
25 Jun, 2020 05:54 PM
24 Jun, 2020 08:11 AM