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

Pet petshmidt at googlemail.com
Tue Apr 27 10:43:27 EDT 2010

On Sat, Feb 13, 2010 at 6:05 AM, Glyph Lefkowitz
<glyph at twistedmatrix.com> wrote:
> On Feb 11, 2010, at 5:27 PM, Timothy Allen wrote:
>> On Thu, 11 Feb 2010 11:54:47 -0600
>> Kevin Horn <kevin.horn at gmail.com> wrote:
>>> Not entirely related to this discussion (though not entirely
>>> unrelated), I think that Twisted's whole release/distribution system
>>> needs to be revamped a little. I've been meaning to talk to radix
>>> about this, but haven't found the time...maybe this will give me the
>>> kick in the pants I needed...
>> Oh ho ho ho ho, boy.
>> As one who has tinkered with Twisted's release/distribution system
>> (unsuccessfully so far - see ticket 1696 and 4138), I'd be very
>> interested to hear what you propose.
> On the contrary - I think your progress on 1696 especially has been *very* successful!  perhaps not quite *complete* yet, though :).
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


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
Searching for Twisted
Reading http://pypi.python.org/simple/Twisted/
Reading http://www.twistedmatrix.com
Reading http://twistedmatrix.com/products/download
Reading http://twistedmatrix.com/projects/core/
Reading http://twistedmatrix.com/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/
Best match: Twisted 10.0.0
Downloading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/Twisted-10.0.0.tar.bz2
Processing Twisted-10.0.0.tar.bz2
Running Twisted-10.0.0/setup.py -q bdist_egg --dist-dir
twisted/runner/portmap.c:10:20: error: Python.h: No such file or directory
twisted/runner/portmap.c:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
twisted/runner/portmap.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
twisted/runner/portmap.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘PortmapMethods’
twisted/runner/portmap.c: In function ‘initportmap’:
twisted/runner/portmap.c:55: warning: implicit declaration of function
twisted/runner/portmap.c:55: error: ‘PortmapMethods’ undeclared (first
use in this function)
twisted/runner/portmap.c:55: error: (Each undeclared identifier is
reported only once
twisted/runner/portmap.c:55: error: for each function it appears in.)
error: Setup script exited with error: command 'gcc' failed with exit status 1

More information about the Twisted-Python mailing list