# Half a Python (aka The Twist in Leopard's Python)

So, here I am trying to get Coherence to work on (given that persists in ignoring “DLNA”:Wikipedia:Digital_Living_Network_Alliance and and doing their own thing), and failing because, out of some obscure selective package selection rules, decided to ship only portions of Twisted Core version 2.4.0 rather than the whole enchilada.

For starters, twisted.web, which is pretty damn essential, is not there – and I’m not talking about “Twisted Web”, I’m talking about the portion of Twisted Core by the same name, which has been part of the distribution for, oh, well, several years now.

I am guessing that it’s due to the fact that Twisted is a fairly large and complex beast, but there are still several bits that I would expect to find there, and as such, I am officially revoking the upon revamp until I have assayed exactly what modules and versions are shipped with the OS – this sort of selective crippling of packages isn’t something I look kindly upon.

### Fetch, kitty, fetch!

Trying to benefit from easy_install to deploy a complete version, however, didn’t pan out as expected:


$sudo easy_install Twisted Searching for Twisted Reading http://pypi.python.org/simple/Twisted/ Reading Twisted Reading http://www.twistedmatrix.com Reading Twistedprojects/core/ Reading Twistedproducts/download Best match: Twisted 2.5.0 Downloading http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-2.5.0.tar.bz2 Processing Twisted-2.5.0.tar.bz2 Running Twisted-2.5.0/setup.py -q bdist_egg —dist-dir /tmp/easy_install-NTkmPB/Twisted-2.5.0/egg-dist-tmp-jCSgm2 usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …] or: setup.py —help [cmd1 cmd2 …] or: setup.py —help-commands or: setup.py cmd —help error: invalid command ‘bdist_egg‘ Error: Subprocess exited with result 1 for project core error: Setup script exited with 1  …which is weird, since I was under the impression that egg support was built in as well. I guess it’s not. To credit, the rather roundabout process of replicating their module selection on a fresh virtual machine yields the same result: $ sudo apt-get install python-setuptools python-zope-interface