All Products
Search
Document Center

Platform For AI:Use a DataWorks exclusive resource group to install FeatureStore SDK for Python

Last Updated:Oct 20, 2025

Exclusive resource groups of DataWorks can improve the efficiency and security for your scheduling jobs, facilitating resource management and team collaboration. This topic describes how to install FeatureStore SDK for Python by using an exclusive resource group of DataWorks.

Prerequisites

Method

Prerequisite

Method 1: Use a new-version exclusive resource group and a built-in image (recommended)

Method 2: Use a new-version exclusive resource group and a custom image (recommended)

  • A PAI workspace is created. For more information, see Create and manage a workspace.

    Note

    PAI workspaces and DataWorks workspaces are associated. After you create a PAI workspace, DataWorks automatically create a workspace with the same name.

  • A VPC and a vSwitch are created. For more information, see Create and manage a VPC.

  • An Elastic IP Address (EIP) instance is created. For more information, see Apply for EIPs.

Method 3: Use an old-version exclusive resource group for scheduling

  • A PAI workspace is created. For more information, see Create and manage a workspace.

    Note

    PAI workspaces and DataWorks workspaces are associated. After you create a PAI workspace, DataWorks automatically create a workspace with the same name.

Procedure

Method 1: Use a new-version exclusive resource group and a built-in image (recommended)

  1. Log on to the DataWorks console, create an exclusive resource group, and associate the resource group with the DataWorks workspace.

    The following table describes the key parameters. For information about other parameters, see Create a serverless resource group.

    Parameter

    Description

    VPC

    Select a VPC.

    vSwitch

    Select a vSwitch.

  2. In the left-side navigation pane, choose Data Development and O&M > Data Development. Then, select a Dataworks workspace and click Go to Data Development.

  3. On the page that appears, move the pointer over Create and choose Create Node > MaxCompute > PyODPS 3. In the Create Node dialog box, configure the Path and Name parameters and click Confirm.

  4. Write and run the code on the node. On the page that appears, configure the parameters.

    Parameter

    Description

    Resource Group Name

    Select an exclusive resource group.

    Image

    Select the latest PAI-Rec image that includes FeatureStore SDK for Python.

    image

Method 2: Use a new-version exclusive resource group and a custom image (recommended)

  1. Log on to the DataWorks console, create an exclusive resource group, and associate the resource group with the DataWorks workspace.

    The following table describes the key parameters. For information about other parameters, see Create a serverless resource group.

    Parameter

    Description

    VPC

    Select a VPC.

    vSwitch

    Select a vSwitch.

  2. Log on to the Internet NAT Gateway console and create a NAT gateway.

    The following table describes the key parameters. For information about other parameters, see Use the SNAT feature of an Internet NAT gateway to access the Internet.

    Parameter

    Description

    VPC

    Select a VPC.

    Associate vSwitch

    Select a vSwitch.

    EIP

    Select an EIP instance.

  3. Log on to the DataWorks console and configure a custom image.

    1. Create a custom image.

      The following table describes the key parameters. For information about other parameters, see Create a custom image.

      Parameter

      Description

      Image Namespace

      Select DataWorks Default.

      Image Name/ID

      Select dataworks_pyodps_task_pod.

      Supported Task Type

      Select PyODPS 3.

      Installation Package

      Select Script and enter the following code:

      /home/tops/bin/pip3 install  https://feature-store-py.oss-cn-beijing.aliyuncs.com/package/feature_store_py-1.8.0-py3-none-any.whl
    2. Publish the custom image.

    3. Associate the custom image with a workspace.

      Select the created PAI (DataWorks) workspace.

  4. Use the exclusive resource group and the created custom image.

    For more information, see Use the custom image.

Method 3: Use an old-version exclusive resource group for scheduling

  1. Log on to the DataWorks console.

  2. In the left-side navigation pane, click Resource Groups.

  3. On the Exclusive Resource Groups tab, find the resource group with Data Scheduling as Purpose. Click image and select O&M Assistant.

  4. On the page that appears, click Create Command and configure the following parameters.

    Parameter

    Recommended value

    Command Name

    Specify a custom name. In this example, "install" is used.

    Command Type

    Manual Installation(You cannot run pip commands to install the third-party packages.)

    Command Content

    /home/tops/bin/pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple https://feature-store-py.oss-cn-beijing.aliyuncs.com/package/feature_store_py-1.3.1-py3-none-any.whl

    Timeout

    Specify a custom time.

  5. Click Create to create the command.

  6. In the Actions column of the command, click Run Command. Click Run in the panel that appears.

  7. When the command is running, you can click Refresh to view the latest Execution Status. When the status is Successful, the installation is complete.

References