[Twisted-Python] "Import Error" after installing twisted matrix
Ben
nebpro at gmail.com
Mon Apr 21 12:53:38 MDT 2008
No. But that is what I thought too. I named my file something like
twisted_indie.py to make sure there is no conflict with names.
On Mon, Apr 21, 2008 at 2:34 PM, Christopher Armstrong <
radix at twistedmatrix.com> wrote:
> On Mon, Apr 21, 2008 at 11:07 AM, Ben <nebpro at gmail.com> wrote:
> > Hi,
> >
> > I am having problem compiling twisted sample codes. It gives me "Import
> > Error" errors (i.e. ImportError: No module named web.client). I really
> > appreciate any suggestions. Thank you.
>
> If it's "No module named web.client", it sounds a lot like you named a
> file "twisted.py". That's a bad idea; it will conflict with the
> toplevel "twisted" package. Is this what you did? If you did, make
> sure you delete twisted.py and twisted.pyc.
>
> --
> Christopher Armstrong
> International Man of Twistery
> http://radix.twistedmatrix.com/
> http://twistedmatrix.com/
> http://canonical.com/
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20080421/1c08b533/attachment.html>
More information about the Twisted-Python
mailing list