ENH: Add error message on mac and windows as program does not work correctly