python,python3: handle install script errors better