Using PyCharm community edition and Python 2.7,
import traceback import sys
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).
[Update] to the commentators so far, thanks.
The IDE does not offer
sys for auto-complete after
When I start the interpreter which the IDE uses form the command line, then
import sys works.