Using PyCharm community edition and Python 2.7,
import traceback import sys
No problem on the first line, which implies that I have pointed PyC
File -> Settings -> Project: (your_project_name) -> Project Interpreter -> press the + symbol -> search for 'system' and install package.
This solved the problem for me.