Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scrapy installation on cygwin

I'm trying to get Scrapy running on cygwin 2.7 using the command easy_install Scrapy however I'm a warning followed by a gcc error:

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`

There are some related questions here and here, but both seem to address issues different my current problem.

Any ideas?

like image 546
Drew Avatar asked Mar 26 '13 15:03

Drew


People also ask

Does Scrapy work with python3?

Scrapy runs on Python 2.7 and Python 3.3 or above (except on Windows where Python 3 is not supported yet). We strongly recommend that you install Scrapy in a dedicated virtualenv, to avoid conflicting with your system packages. For more detailed and platform specifics instructions, read on.


1 Answers

I couldn't find any gcc package with my version of Cygwin :

$ apt-cyg install gcc
Installing gcc
Unable to locate package gcc

But installing the gcc-g++ package did the trick:

$ apt-cyg install gcc-g++
like image 149
Lucas Cimon Avatar answered Sep 30 '22 14:09

Lucas Cimon