---
title: "Prerequisites"
description: "Install Docker and Python prerequisites needed for the Aerospike Graph Python tutorial."
---

# Prerequisites

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

This tutorial requires the Aerospike Graph repository and two dependencies. Before proceeding, install the following:

## Required

Docker

Docker runs the Aerospike Graph Service and Aerospike Database layers in pre-configured containers.

1.  Download and install Docker Desktop from [the Docker website](https://www.docker.com/).
    
2.  After installation, verify Docker is running:
    
    Terminal window
    
    ```shell
    docker --version
    ```
    
    You should see output similar to:
    
    ```plaintext
    Docker version 24.0.0, build abc1234
    ```
    

Python

This tutorial uses Python to connect to AGS and execute Gremlin queries.

1.  Install [Python 3.10 or later](https://www.python.org/downloads/).
    
2.  After installation, verify Python is available:
    
    Terminal window
    
    ```shell
    python3 --version
    ```
    
    You should see output similar to:
    
    ```plaintext
    Python 3.11.5
    ```
    

This tutorial uses the Gremlin Python driver (`gremlinpython`) to communicate with AGS. AGS requires TinkerPop 3.7.x client drivers. TinkerPop 3.8.x and 4.0.x are not compatible. You will install this library using pip in the next section.

## Optional

Git

While not strictly required, Git makes it easier to clone the repository. If you do not have Git installed, you can download the repository as a ZIP file from GitHub instead.

Install Git from [git-scm.com](https://git-scm.com/).

::: undefined
-   I’ve installed Docker.
-   I’ve installed Python 3.10.
:::

[Previous  
Tutorial: Graph and Python basics](https://aerospike.com/docs/graph/graph-and-python-basics) [Next  
Run the example](https://aerospike.com/docs/graph/graph-and-python-basics/step/1/part/1/run-example)