Page tree
Skip to end of metadata
Go to start of metadata

We recommend that you use Python to install all required packages for pytd.pandas_td. 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.

MacOS and Linux

Windows

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

Activate the environment

  1. After creating the virtual environment, activate the environment.
    MacOD and Linux - $ source .venv/bin/activate

    Windows - .\\.venv\\Scripts\\activate

  2. Install pytd using the pip command:

    (.venv)$ pip install pytd
  3. Install Jupyter and related packages:

    (.venv)$ pip install jupyter notebook matplotlib seaborn


  • No labels