I am not sure about that. I also thought about the same and deleted the file
in scripts once. But once I import the module in twisted the compiled module
gets created.

Hey thank you, just  noticed that there was file named twisted I created
before installing the framework. Python was trying to compile that instead
of the framework. Now I deleted it and it is working fine. Sorry mistake on
my side must have looked better.

Thank you :-)

Regards,
Sai


On 12/7/06, Christopher Armstrong <[EMAIL PROTECTED]> wrote:

On 12/7/06, PAPPU Sai Venkatakrishnan <[EMAIL PROTECTED]> 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
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to