[Bug-Database]Problems when installing Twisted Framework.

Platform: Ubuntu 11.04 as Based-Version ( LinuxMint 12 – Lisa Distro)

Native Compiler : gcc

Python 2.7.2 +  ( python –version)

Twisted Framework here:  http://twistedmatrix.com/trac/wiki/Downloads

Download, Extract, and run :

python setup.py install

Error received :  

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

Fix : install package python-dev  

sudo apt-get install python-dev

Problem fixed !

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: