title: Unable to debug in PyCharm because of an ImportError in pydevconsole.py
body: <p>I am suddenly getting the following error in PyCharm whenever I try to debug my code. This seems to be happening only when I try to debug a specific project and the error doesn't seem to occur in other projects.</p>
  
  <pre><code>Traceback (most recent call last):
    File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 14, in &lt;module&gt;
      from pydevd_breakpoints import * #@UnusedWildImport
    File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd_breakpoints.py", line 15, in &lt;module&gt;
      from pydevd_comm import GetGlobalDebugger
    File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd_comm.py", line 74, in &lt;module&gt;
      import pydevconsole
    File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevconsole.py", line 8, in &lt;module&gt;
      from code import compile_command
  ImportError: cannot import name compile_command
  </code></pre>
  
  <p>I searched around and found <a href="https://stackoverflow.com/questions/20157925/pycharm3-0-1win7-when-i-debug-my-webpy-project-it-output-importerror-cannot-im">this answer</a>, but it didn't work for me since I have no additional <code>code.py</code> in my project.</p>
  
  <p>UPDATE:</p>
  
  <p>I created a new project in PyCharm and moved the files the files to the new project and was able to debug..</p>