All Products
Search
Document Center

Application Real-Time Monitoring Service:Install the Python probe in a UV environment

Last Updated:Oct 27, 2025

This topic describes how to install and configure the Alibaba Cloud Python probe in a UV environment. After the probe is installed, you can use it for performance monitoring, Tracing Analysis, and anomaly detection for your Python application.

Step 1: Download and decompress the Python probe package

  1. Download the Python probe package.

    wget http://arms-apm-${regionID}.oss-${regionID}.aliyuncs.com/aliyun-python-agent/aliyun-python-agent.tar.gz

    Replace ${regionID} with your region ID. For example:

    wget http://arms-apm-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/aliyun-python-agent/aliyun-python-agent.tar.gz

    Specify the Python probe version

    If you want to specify a Python probe version, run the following command:

    wget http://arms-apm-${regionID}.oss-${regionID}.aliyuncs.com/aliyun-python-agent/${version}/aliyun-python-agent.tar.gz

    Replace ${version} with the Python probe version and ${regionID} with your region ID. For example:

    wget http://arms-apm-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/1.8.0/aliyun-python-agent/aliyun-python-agent.tar.gz
  2. Decompress the Python probe package.

    tar -zxvf aliyun-python-agent.tar.gz

Step 2: Use UV to install the Python probe package

uv pip install aliyun-python-agent/target/*.whl

Step 3: Use UV to run the Python application

uv aliyun-instrument python3 app.py

References