Quick snippet for you Cygwin users out there wanting to use the awesome PyQuery
If you've tried to run a pip install pyquery or easy_install pyquery, you may have been greeted with a wall of GCC error messages. If this has happened to you, don't worry, the solution is simple!
Get lxml running
The main problem comes down to lxml not being available in your current cygwin installation. Simply follow the instructions on this life-saving article
, and you'll have lxml up running in no time. Don't forget to follow the instructions pertaining to debugging format.
That's right! Now just pip install pyquery and you should be good to go.
August 18, 2011