Sunday, July 29, 2012

Installing Twisted Python / Scrapy using Mingw

I kept getting errors about -mno-cygwin, not being defined or deprecate or something using either pip install scrapy or easy_install scrapy. It wasn't particularly easy to find the solution but a stackover post suggested this:
After more some googling, I found guidance that recommended removing -mno-cygwin fromC:\Python27\Lib\distutils\ because of a distutils bug.
Removing -mno-cygwin from C:\Python27\Lib\distutils\

Which finally worked for me.

Or even better use the excellent prebuilt libraries from here:

No comments: