more robust against partial failure in venv setup