# raise_vertex_import_error

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/vertexai/raise_vertex_import_error)

Raise ImportError related to Vertex SDK being not available.

## Signature

```python
raise_vertex_import_error(
    minimum_expected_version: str = '1.38.0',
) -> None
```

## Description

Raises:
ImportError: an ImportError that mentions a required version of the SDK.

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `minimum_expected_version` | `str` | No | The lowest expected version of the SDK. (default: `'1.38.0'`) |

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/utilities/vertexai.py#L42)