Category Archives: lampp

[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 !