Install the Python agent with PyPI
To install the Python agent with PyPI:
Install the agent using pip.
pip install contrast-agent
Important
If your application is using a version of the Python agent older than 3.0.0, it is likely it is installed with the name
contrast-python-agent. Make sure to runpip uninstall contrast-python-agentbefore runningpip install contrast-agent.Tip
If you have a
requirements.txtfile, you can addcontrast-agentto that file, and install withpip install -r requirements.txt.Verify that
autoconfis installed on the system where you will run the agent.Start and exercise your application as normal.
Verify that your server is registered in Contrast and that it reports an instance of your application.