---
title: "Installing pyTigerGraph"
description: "Instructions to install each flavor of pyTigerGraph."
component: "pytigergraph"
version: "1.8"
module: "getting-started"
html_url: "/pytigergraph/1.8/getting-started/install"
canonical_url: "https://www.tigergraph.com/docs/pytigergraph/1.8/getting-started/install"
markdown_url: "https://www.tigergraph.com/docs/pytigergraph/1.8/getting-started/install.md"
---

[View as HTML](https://www.tigergraph.com/docs/pytigergraph/1.8/getting-started/install)

# Installing pyTigerGraph

This page walks you through installing pyTigerGraph on your machine.

## Prerequisites

* Python 3.0 or higher.
* If you are installing `pyTigerGraph[gds]`, make sure [torch is installed](https://pytorch.org/get-started/locally/) in your Python environment.

## Install _pyTigerGraph_

To download _pyTigerGraph_, run the following command in the command line or use the appropriate tool of your development environment (anaconda, PyCharm, etc.).:

```console
pip3 install pyTigerGraph
```

## Install _pyTigerGraph\[gds\]_

To utilize [pyTigerGraph's Graph Data Science (GDS) functionality](https://www.tigergraph.com/docs/pytigergraph/1.8/gds/index.md), run the following command to install `pyTigerGraph[gds]`.

```console
pip3 install 'pyTigerGraph[gds]'
```

Certain GDS classes, such as [data loaders](https://www.tigergraph.com/docs/pytigergraph/1.8/gds/dataloaders.md), can produce output in PyTorch Geometric (PyG) or Deep Graph Library (DGL) formats. To support those formats, you need to have installed the respective packages in your Python environment:

* [Install Deep Graph Library](https://www.dgl.ai/pages/start.html).
* [Install pyTorch Geometric](https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html) .

It is optional to install either of the aforementioned packages. If you don't install either of the packages, you can still use the GDS functions, and output results in panda frames.

## Import `pyTigerGraph`

Once the package is installed, you can import it like any other Python package:

```python
import pyTigerGraph as tg
```
