title: Werkzeug AttributeError: 'module' object has no attribute 'InteractiveInterpreter'
body: <p>Using Flask (0.8) and Werkzeug (0.8.1) when attempting to run code with <code>app.run(debug=True)</code> I get the below described error. There are no errors when using <code>app.run()</code></p>
  
  <p>The error</p>
  
  <pre><code>Traceback (most recent call last):
  File "code2.py", line 9, in &lt;module&gt;
      app.run(debug=True)
  File "/&lt;snip&gt;/env/lib/python2.7/site-packages/Flask-0.8-py2.7.egg/flask/app.py", line 703, in run
      run_simple(host, port, self, **options)
  File "/&lt;snip&gt;/env/lib/python2.7/site-packages/Werkzeug-0.8.1-py2.7.egg/werkzeug/serving.py", line 587, in run_simple
      from werkzeug.debug import DebuggedApplication
  File "/&lt;snip&gt;/env/lib/python2.7/site-packages/Werkzeug-0.8.1-py2.7.egg/werkzeug/debug/__init__.py", line 14, in &lt;module&gt;
      from werkzeug.debug.tbtools import get_current_traceback, render_console_html
  File "/&lt;snip&gt;/env/lib/python2.7/site-packages/Werkzeug-0.8.1-py2.7.egg/werkzeug/debug/tbtools.py", line 19, in &lt;module&gt;
      from werkzeug.debug.console import Console
  File "/&lt;snip&gt;/env/lib/python2.7/site-packages/Werkzeug-0.8.1-py2.7.egg/werkzeug/debug/console.py", line 144, in &lt;module&gt;
      class _InteractiveConsole(code.InteractiveInterpreter):
  AttributeError: 'module' object has no attribute 'InteractiveInterpreter'
  </code></pre>
  
  <p>The code (code.py)</p>
  
  <pre><code>from flask import Flask
  app = Flask(__name__)
  
  @app.route('/news/')
  def news():
      pass
  
  if __name__ == '__main__':
      app.run(debug=True)
  </code></pre>
  
  <p>Steps taken to recreate the error</p>
  
  <pre><code>$ cd &lt;project directory&gt;
  $ . env/bin/activate # Activates virtuanlenv environment (see below for packages)
  $ python code.py
  </code></pre>
  
  <p>Contents of my env/lib/python2.7/site-packages (versions of various library used) via virtualenv</p>
  
  <pre><code>Flask-0.8-py2.7.egg
  Jinja2-2.6-py2.7.egg
  pip-1.0.2-py2.7.egg
  setuptools-0.6c11-py2.7.egg
  Werkzeug-0.8.1-py2.7.egg
  </code></pre>
  
  <p>Things I have tried to solve this problem so far, that have not helped (unfortunately)</p>
  
  <ul>
  <li>Extensive googling/SO searching</li>
  <li>Heavy simplification of my code</li>
  <li>Deleting created virtualenv and all libraries and reinstallation via easy_install</li>
  </ul>
  
  <p>The strange thing here is that last night, this code worked fine. This morning, without changing anything (that I'm aware of) the code failed to properly run.</p>
  
  <p>Thanks very much for your help!</p>