[Twisted-Python] twisted.web problem on FreeBSD 4.7

douglas savitsky dsavitsk at mail.e-coli.net
Fri Dec 27 02:59:36 EST 2002

I installed Python (2.2.1) from the port.  I installed twisted 1.0.1 by downloading and running

#python ./setup.py install

as root, i ran 

#mktap web --path /usr/www --port 80

when i then run 

# coil web.tap

I get the following traceback:

Traceback (most recent call last):
  File "/usr/local/bin/coil", line 30, in ?
  File "/usr/local/lib/python2.2/site-packages/twisted/scripts/coil.py", line 89, in run
  File "/usr/local/lib/python2.2/site-packages/twisted/python/plugin.py", line 40, in load
    return namedModule(self.module)
  File "/usr/local/lib/python2.2/site-packages/twisted/python/reflect.py", line 372, in namedModule
    topLevel = __import__(name)
  File "/usr/local/lib/python2.2/site-packages/twisted/coil/plugins/names.py", line 21, in ?
    from twisted.names import dns
ImportError: cannot import name dns

Is there an easy way around this?



More information about the Twisted-Python mailing list