`withlock` fails if `python` is missing