title: Python noob: "ImportError: No module named internet"
body: <p>I'm trying to get Python twisted to work on my Ubuntu 11.04 box.</p>
  
  <p>I did <code>sudo apt-get install python-twisted</code></p>
  
  <p>However, when I try the following code:</p>
  
  <pre><code>from twisted.internet import protocol, reactor
  
  class Echo(protocol.Protocol):
      def dataReceived(self, data):
          self.transport.write(data)
  
  class EchoFactory(protocol.Factory):
      def buildProtocol(self, addr):
          return Echo()
  
  reactor.listenTCP(1234, EchoFactory())
  reactor.run()
  </code></pre>
  
  <p>I get this error which I cannot get to the bottom of:</p>
  
  <pre><code>Traceback (most recent call last):
    File "eamorr.py", line 1, in &lt;module&gt;
      from twisted.internet import protocol, reactor
    File "/home/eamorr/Desktop/twisted.py", line 1, in &lt;module&gt;
  ImportError: No module named internet
  </code></pre>
  
  <p>Any help is most appreciated.</p>