[Twisted-Python] Re: What is the best way to install Twisted on OS X 10.4?

Christopher Armstrong radix at twistedmatrix.com
Fri Jul 14 08:40:30 MDT 2006


On 7/14/06, Aaron Rustad <arustad at gmail.com> wrote:
> Turns out there is a problem with the msn_example.py that is provided
> under the documentation section of the Words project.
>
> The import of msn is:
>
> from twisted.protocols import msn
>
> but should read:
>
> from twisted.words.protocols import msn

Strange that this would solve your problem, as twisted.protocol.msn is
just a compatibility wrapper around twisted.words.protocols.msn. The
error you got was to indicate that you actually didn't have words
installed so it couldn't  find twisted.words.protocols.msn.

Did you use the toplevel setup.py file from the Twisted-2.4.0.tar.bz2?

-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/




More information about the Twisted-Python mailing list