# Installing Python Pandas Matplotlib Jupyter Notebook Pytd

Additional pytd documentation is [here](/tools/pytd)

We recommend that you use Python to install all required packages for pytd. You can refer to [Python Basic Installation](https://cloud.google.com/python/setup) instructions provided by the Google Cloud platform, as well as the following information.

You must download and install Python before creating a development environment.

To install Python:

1. Download from the [official site](https://www.python.org/downloads/).
2. Review the official documentation for [Windows](https://docs.python.org/3/using/windows.html), [macOS](https://docs.python.org/3/using/mac.html), and [Unix](https://docs.python.org/3/using/unix.html). [This step-by-step tutorial](https://realpython.com/installing-python/) is also helpful.
3. From a machine from which you use TD and the TD Toolbelt, open the command line terminal.
4. Create a directory specifically for the project and navigate to it. We recommend naming the environment name starting with `.venv`, so that Digdag can ignore those directories.


MacOS and Linux

```bash
cd <your-project> 
python3 -m venv .venv
```

Windows

```cmd
cd <your-project> 
py -3 -m venv .venv
```

## Activate the environment

1. After creating the virtual environment, activate the environment.


MacOS and Linux

```bash
source .venv/bin/activate
```

Windows

```windows
.\\.venv\\Scripts\\activate
```

1. Install pytd using the pip command:



```bash
(.venv)$ pip install pytd
```

1. Install Jupyter and related packages:



```
(.venv)$ pip install jupyter notebook matplotlib seaborn
```