[Ubuntu] Install Scrapy in Ubuntu 12.04/12.10 with easy_install

– I have tried to install Scrapy with easy_install ( install easy_install_tools)
– then when running easy_install Scrapy .
it got stuck at step installing twisted with some fucking error like

twisted/runner/portmap.c:10:20: fatal error: Python.h: No such file or directory
compilation terminated.

it turned out I had to install python-dev packge first
( ref: http://nickhumphreyit.blogspot.com/2011/10/buildbot-install-error.html )

apt-get install python-dev

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: