tag:help.appveyor.com,2012-11-13:/discussions/problems/25413-cygwin-does-not-have-python-27-anymore-since-a-few-daysAppVeyor: Discussion 2020-03-16T10:59:26Ztag:help.appveyor.com,2012-11-13:Comment/478298132019-11-13T05:08:52Z2019-11-13T05:08:52ZCygwin does not have Python 2.7 anymore since a few days<div><p>Hi Andy,</p>
<p>Indeed, cygwin has been re-installed during the last update: <a href="https://github.com/appveyor/ci/issues/3101">https://github.com/appveyor/ci/issues/3101</a></p>
<p>Is there any component missing? This is the script we use to install cygwin on build image: <a href="https://github.com/appveyor/build-images/blob/master/scripts/Windows/install_cygwin.ps1">https://github.com/appveyor/build-images/blob/master/scripts/Window...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/478298132019-11-13T13:42:42Z2019-11-13T13:42:42ZCygwin does not have Python 2.7 anymore since a few days<div><p>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.</p>
<p>Can Python 2.7 be re-established in CygWin?</p></div>andreas.r.maiertag:help.appveyor.com,2012-11-13:Comment/478298132019-11-13T13:48:36Z2019-11-13T13:48:36ZCygwin does not have Python 2.7 anymore since a few days<div><p>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.</p></div>andreas.r.maiertag:help.appveyor.com,2012-11-13:Comment/478298132019-11-13T14:37:28Z2019-11-13T14:37:28ZCygwin does not have Python 2.7 anymore since a few days<div><p>I ran "cygcheck -c -d" and here is what it reports about packages with "python" in the package name:</p>
<p>python 2.7.16-1<br>
python-pip-wheel 19.2.3-1<br>
python-setuptools-wheel 41.2.0-1<br>
python3 3.6.8-1<br>
python36 3.6.9-1</p>
<p>That means that Python 2.7 is supposed to be installed.</p>
<p>However, the only python programs in the PATH are:</p>
<p>PATH=/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/ProgramData/chocolatey/bin</p>
<p>/usr/bin/python3 /usr/bin/python3.6 /usr/bin/python3.6m.exe</p>
<p>Previously, a python2.7 command was in that same PATH.</p></div>andreas.r.maiertag:help.appveyor.com,2012-11-13:Comment/478298132019-11-13T18:01:00Z2019-11-13T18:01:00ZCygwin does not have Python 2.7 anymore since a few days<div><p>Looks like <code>python2</code> should be explicitly installed to get Python 2.7. We'll modify image script, you can use the following workaround for now:</p>
<pre>
<code>cmd /c start /wait C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -P python2</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/478298132019-11-27T02:46:15Z2019-11-27T02:46:15ZCygwin does not have Python 2.7 anymore since a few days<div><p>Hi Feodor. I added the command to install python2 as you suggested, and that worked. This issue can be closed from my perspective.</p>
<p>Thanks for the help!!</p></div>andreas.r.maiertag:help.appveyor.com,2012-11-13:Comment/478298132019-11-27T03:09:36Z2019-11-27T03:09:36ZCygwin does not have Python 2.7 anymore since a few days<div><p>Cool, thanks for the update!</p></div>Feodor Fitsner