[Twisted-Python] "Import Error" after installing twisted matrix

Ben nebpro at gmail.com
Mon Apr 21 14:40:45 EDT 2008


Here is the installer that i used: Twisted 8.0.1 for Python
2.5<http://tmrc.mit.edu/mirror/twisted/Twisted/8.0/Twisted_NoDocs-8.0.1.win32-py2.5.exe>(for
Windows). I browse through the "C:\Python25\Lib\site-packages" folder
to make sure that the twisted library is installed. And they are. I can go
to "C:\Python25\Lib\site-packages\twisted\web" and find client.py file. It
seems that Python unable to find the path for importing the twisted module
when it is compiling. So I double check the PATH on the environment
variables to make sure the path is correctly in there (i.e. ; C:\Python25),
and it is set correctly there. So I am pretty confused. Any suggestions are
welcomed.

-Ben

On Mon, Apr 21, 2008 at 2:22 PM, Jean-Paul Calderone <exarkun at divmod.com>
wrote:

> On Mon, 21 Apr 2008 14:14:59 -0400, Ben <nebpro at gmail.com> wrote:
>
> > I used the installer from the http://twistedmatrix.com/trac/., and I am
> > running on Windows XP platform.
> >
>
> Which installer?  There's more than one.  If you used the Twisted Core
> installer, then you don't have such things as twisted.web.  Try the full
> Twisted installer instead, which includes all of Twisted instead of only
> some of Twisted.  The subproject installers, such as the one for Twisted
> Core, are only useful if you know exactly which subset of Twisted you're
> using and have a low-storage environment, where you can't afford to have
> all of Twisted.
>
> Jean-Paul
>
>
> _______________________________________________
> 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: http://twistedmatrix.com/pipermail/twisted-python/attachments/20080421/488c0dba/attachment.htm 


More information about the Twisted-Python mailing list