Skip to main content

Install the Python agent with PyPI

To install the Python agent with PyPI:

  1. Verify that a C compiler and C standard library headers are available on the system where you are installing the agent. Package names may differ across platforms.

  2. Install the agent using pip.

     pip install contrast-agent

    Tip

    If you have a requirements.txt file, you can add contrast-agent to that file, and install with pip install -r requirements.txt.

  3. Configure the agent.

  4. Start and exercise your application using the Contrast Runner.

  5. Verify that your server is registered in Contrast and that it reports an instance of your application.