installed python-mode and it works on Linux