PyCharm "no module named sys"
<p>Using PyCharm community edition and Python 2.7,</p>

<pre><code>import traceback
import sys
</code></pre>

<p>No problem on the first line, which implies that I have pointed PyCharm correctly at the interpreter. However, I get "no module named sys" at the second line (which is strange, as sys is a builtin - if you can find the interpreter, you have found sys). </p>

<p>Any ideas?</p>

<hr>

<p>[Update] to the commentators so far, thanks. </p>

<p>The IDE does not offer <code>sys</code> for auto-complete after <code>import sy</code>.</p>

<p>When I start the interpreter which the IDE uses form the command line, then <code>import sys</code> works.</p>