[Twisted-Python] CentOS error installing

Landreville landreville at deadtreepages.com
Wed Aug 18 15:21:55 EDT 2010


On Wed, Aug 18, 2010 at 1:36 PM, Maarten ter Huurne
<maarten at treewalker.org> wrote:
> On Wednesday 18 August 2010, Landreville wrote:
>> Hello,
>>
>> I'm running CentOS 5.5 64bit and when I tried to install twisted using
>> easy_install I get this error message:
>>
>> Running Twisted-10.1.0/setup.py -q bdist_egg --dist-dir
>> /tmp/easy_install-tgKRDq/Twisted-10.1.0/egg-dist-tmp-wd-5Ri
>> twisted/runner/portmap.c:10:20: error: Python.h: No such file or
>> directory
>
> Is it possible you don't have the Python headers installed? They are
> probably in a package named "python-dev", "python-devel" or something
> similar.
>
> Bye,
>                Maarten
>

CentOS comes with python 2.4, I installed python 2.7 beside it and
installed using it (python2.7 setup.py install) with no errors.



More information about the Twisted-Python mailing list