def METHOD_NAME(mock_subprocess_call):
    mock_subprocess_call.side_effect = OSError
    with pytest.raises(CouldNotInstallRequirements):
        install_libraries(
            "package/lib/requirements.txt", "/path/to/output/addon_name/lib", "python3"
        )