cygwin上的刮擦式安装

cygwin上的刮擦式安装,cygwin,installation,scrapy,Cygwin,Installation,Scrapy,我正在尝试使用命令easy\u install Scrapy在cygwin 2.7上运行Scrapy,但是我收到了一个警告,后面是一个gcc错误: warning: no files found matching '*.txt' under directory 'src/lxml/tests' unable to execute gcc: No such file or directory error: Setup script exited with error: command 'gcc'

我正在尝试使用命令
easy\u install Scrapy
在cygwin 2.7上运行Scrapy,但是我收到了一个警告,后面是一个gcc错误:

warning: no files found matching '*.txt' under directory 'src/lxml/tests'
unable to execute gcc: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1`
有一些相关的问题,但两者似乎都解决了与我目前的问题不同的问题


有什么想法吗?

您需要使用cygwin setup.exe或apt cyg安装gcc包

apt-cyg install gcc
# Create a symlink to be able to run gcc
ln -s /usr/bin//i686-pc-cygwin-gcc-3.exe /usr/bin/gcc

我在我的Cygwin版本中找不到任何
gcc
包:

$ apt-cyg install gcc
Installing gcc
Unable to locate package gcc
但是安装
gcc-g++
包实现了以下目的:

$ apt-cyg install gcc-g++

我擦了擦这台电脑,然后安装了ubuntu,所以我不能确认这是否有效,但这似乎是合理的