[Twisted-Python] "Import Error" after installing twisted matrix
nebpro at gmail.com
Mon Apr 21 14:53:38 EDT 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
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python