Skip to content
Last updated

Installing Python Pandas Matplotlib Jupyter Notebook Pytd

Additional pyTD documentation can be found on the Treasure Data Developer Portal.

We recommend that you use Python to install all required packages for pytd. You can refer to Python Basic Installation 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.

  2. Review the official documentation for Windows, macOS, and Unix. This step-by-step tutorial 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.

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

Activate the environment

  1. After creating the virtual environment, activate the environment.
source .venv/bin/activate
  1. Install pytd using the pip command:
(.venv)$ pip install pytd  
  1. Install Jupyter and related packages:
(.venv)$ pip install jupyter notebook matplotlib seaborn