[Twisted-Python] multiple versions of twisted on same machine

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Tue Apr 27 11:28:09 EDT 2010


On 02:43 pm, petshmidt at googlemail.com wrote:
>
>Hi,
>
>I can't install Twisted in VirtualEnv. Can someone explain what is
>wrong, please? Thanks!
>
>
>(newtwisted)hostname:/usr/local/development/newtwisted/bin# 
>easy_install Twisted
>[snip]
>Running Twisted-10.0.0/setup.py -q bdist_egg --dist-dir
>/tmp/easy_install-9n_UrX/Twisted-10.0.0/egg-dist-tmp-dt-vez
>twisted/runner/portmap.c:10:20: error: Python.h: No such file or 
>directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You need to install the Python development headers.  This is usually in 
a package named "python-dev" or "python-devel" or something like that.

Jean-Paul



More information about the Twisted-Python mailing list