Experiment with flycheck. And set path from the shell.