[Twisted-Python] FW: No module names "twisted.names" due to confuse twisted-core library folder

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Thu Nov 15 06:52:36 EST 2012

On 09:27 am, akaradag at netas.com.tr wrote:
>Hi all,
>I have a problem about twisted-core library location. I downloaded and
>installed twisted-10.2-core(TwistedCore-10.2.0.tar.bz2) and
>names(TwistedNames-10.2.0.tar.bz2) from source code[1]. But python does
>not find "names" plugin. Because twisted-core has been installed under
>/usr/lib64/ but names is under /usr/lib/ defaultly.

This is due to a bug in the local distutils configuration of your Linux 
distribution which causes it to select incorrect installation targets 
and does not let you override these choices.  You should report the bug 
to them.

Meanwhile, you can solve the problem by:

  1) Use the platform-supplied packages of Twisted instead of installing 
your own version from source


  2) Install Twisted instead of Twisted Core and Twisted Names

These are both good ideas anyway, disregarding your current particular 
installation problem.  If possible, do them both.


More information about the Twisted-Python mailing list