[Twisted-web] Error importing reactor from twisted.internet

Christopher Armstrong radix at twistedmatrix.com
Thu Dec 7 08:15:53 CST 2006

On 12/7/06, PAPPU Sai Venkatakrishnan <saidesertrose2004 at gmail.com> wrote:
> Hi,
> I am newly learning twisted use it in my development projects. I installed
> twisted in my machine imported the reactor from twisted.internet.
> But I got an error stating internet.protocol is not present.
> Traceback (most recent call last):
>   File "<pyshell#2>", line 1, in -toplevel-
>     from twisted.internet import reactor
>   File "C:\Python24\Scripts\twisted.py", line 1, in
> -toplevel-
>     from twisted.internet.protocol import protocol
> ImportError: No module named internet.protocol

The file "C:\Python24\Scripts\twisted.py" shouldn't be there. What is
it? Python is mistaking it for the "twisted" package.

Christopher Armstrong
International Man of Twistery

More information about the Twisted-web mailing list