[Twisted-Python] ImportError: cannot import name dns

Tony Blake tonyblake2003 at yahoo.co.uk
Thu Nov 28 09:31:59 MST 2002


Hello all,

I have just started to work with Twisted and am having
some difficulty with 1.0.1. (I am not a Python veteran
either ;)

I downloaded the latest Twisted release for Win32
(Twisted-1.0.1.win32-py2.2.exe). It installed fine.
But when running the 'coil' script, I receive the
following error:

=======================
Traceback (most recent call last):
  File "coil.py", line 30, in ?
    run()
  File
"C:\Python22\Lib\site-packages\twisted\scripts\coil.py",
line 89, in run
    p.load()
  File
"C:\Python22\Lib\site-packages\twisted\python\plugin.py",
line 40, in load
    return namedModule(self.module)
  File
"C:\Python22\Lib\site-packages\twisted\python\reflect.py",
line 372, in namedModule
    topLevel = __import__(name)
  File
"C:\Python22\Lib\site-packages\twisted\coil\plugins\names.py",
line 21, in ?
    from twisted.names import dns
ImportError: cannot import name dns
=============================

In the directory twisted.names, there isn't a dns.py.
It's not in the UNIX build either.

Downloaded 1.0.0, and the dns.py is there. It runs
fine.

Do you have to install 1.0.0 and then 1.0.1 over it?

Thanks for any help in advance,

Tony


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com




More information about the Twisted-Python mailing list