Raise error on python version older than 3.0.