improved dependency installation error messages