Hello guys,<br><br>I have to install Twisted 2.50 on our Ubuntu Dapper servers. The problem is that I have to use the Twisted 2.50 tarball since Dapper apt repositories only have Twisted 2.40. The installation went smoothly and my twisted applications works except that when I try to run my scripts using the epoll reactor (twistd -ny ./myscript -r epoll) I get this error.
<br><br>Traceback (most recent call last):<br> File "/usr/bin/twistd", line 21, in ?<br> run()<br> File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 27, in run<br> app.run
(runApp, ServerOptions)<br> File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 374, in run<br> config.parseOptions()<br> File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 354, in parseOptions
<br> usage.Options.parseOptions(self, options)<br> File "/usr/lib/python2.4/site-packages/twisted/python/usage.py", line 177, in parseOptions<br> self.__dispatch[optMangled](optMangled, arg)<br> File "/usr/lib/python2.4/site-packages/twisted/python/usage.py", line 333, in <lambda>
<br> fn = lambda name, value, m=method: m(value)<br> File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 276, in opt_reactor<br> installReactor(shortName)<br> File "/usr/lib/python2.4/site-packages/twisted/application/reactors.py", line 80, in installReactor
<br> installer.install()<br> File "/usr/lib/python2.4/site-packages/twisted/application/reactors.py", line 60, in install<br> namedAny(self.moduleName).install()<br> File "/usr/lib/python2.4/site-packages/twisted/python/reflect.py", line 357, in namedAny
<br> topLevelPackage = __import__(trialname)<br> File "/usr/lib/python2.4/site-packages/twisted/internet/epollreactor.py", line 22, in ?<br> from twisted.python import _epoll<br>ImportError: cannot import name _epoll
<br><br><br>On my workstation (LinuxMint 3.0), the epoll reactor works fine. The difference is that I installed Twisted via apt-get. Thanks in advance for anyone who can point me to the right way.<br><br>---<br>Alvin Delagon
<br>