Adding a check for python to prevent failure on machines without