[Twisted-web] Import channel Problem

David Reid dreid at dreid.org
Tue May 30 19:18:42 CDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

George Wright wrote:
> Hi

Hi

> I'm new to this list.

Welcome

> Doing example1.py in first tutorial of twisted.web2
> (documentation/intro.txt)
> I keep getting:
> ImportError: cannot import name channel
> 
> Anyone know what's wrong here?

You're most likely using web2 0.1 which is unfortunately very very old,
and completely out of date and should not be used at all.  I'll be doing
a web2 release 0.2 before june 9th, and you should use svn trunk[0]
until then.

If you're already using trunk it's possible that it was improperly
installed or you thought you installed it over the 0.1 release but
didn't really.  Without further information I can't really tell you what
exactly is wrong.  Good luck, and welcome.

- -David

[0] svn://svn.twistedmatrix.com/svn/Twisted/trunk

- --
"Usually the protocol is this: I appoint someone for a task,
which they are not qualified to do.  Then, they have to fight
a bear if they don't want to do it." -- Glyph Lefkowitz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFEfODhrsrO6aeULcgRAlLrAJ9dVGgTSWBViWWgWv0si3bIovs5OgCeMTih
YVUdyZqUB4+suXxQs9ANa7Q=
=KigD
-----END PGP SIGNATURE-----



More information about the Twisted-web mailing list