pip Installation
Platform | Command |
---|---|
Linux |
Note: For Python 3.12 or higher, ensure to install the setuptools package. |
Apple Linux |
|
When there are multiple packages, you can locate the agent using the pip list command or using the List packages facility at https://pypi.python.org/pypi and then find appdynamics in the output.
For production deployments, AppDynamics recommends that you freeze the versions of dependencies so that they are not upgraded in production without first being deployed to your test/staging environments. The command to install or upgrade to a particular version of the AppDynamics Python Agent is:
pip install -U appdynamics==<released_agent_version>
pip install -U appdynamics==22.1.0.0
This command always installs the exact same version of the agent each time it is run.