Check if pygpu is None. In that case, raise a better error message.