When deploying a project on cygwin got an error

error: command 'gcc' failed with exit status 1 

For debian-like systems, it is solved by installing python-dev.

Team for cygwin

 apt-cyg install python-dev 

returns an unable locate package. Attempt to change the mirror for Cygwin (from the following list https://cygwin.com/mirrors.html )

 apt-cyg -m update <mirror> 

returns 404 error. How to solve this problem?

  • one
    Try to install Cygwin packages using the standard setup-x86 * .exe utility from the official site . - hobo-mts
  • one
    Judging by setup.ini , there is no such package in Cygwin. - hobo-mts
  • Yes, that's right, no package. Packages are installed on the installer launch from the list of selected repositories - while1pass

0