In this case, the document you are referring is outdated.
In the older version of Great Expectations (before v0.16), `get_context` was accessed differently.
In the latest versions, `get_context()` is provided under `great_expectations`, and not under `great_expectations.util` .
Below I have used the code from latest document of Great Expectation and It ran successfully without any error:
https://i.imgur.com/eIIBt4y.png
Example Code:
```
import datetime
import pandas as pd
from ruamel import yaml
from great_expectations.core.batch import RuntimeBatchRequest
from great_expectations import get_context
from great_expectations.data_context.types.base import (
DataContextConfig,
FilesystemStoreBackendDefaults,
)
```
Kindly go through the latest document of Greatest Expectations :
\[Great Expectations\](https://docs.greatexpectations.io/docs/core/set%5C%5C%5C_up%5C%5C%5C_a%5C%5C%5C_gx%5C%5C%5C_environment/create%5C%5C%5C_a%5C%5C%5C_data_context/)