On this page:
You can remove Python Agent instrumentation from your application by reverting deployment script changes made when installing the agent to remove all pyagent commands and APPD environment variables.
Removing instrumentation is generally sufficient for most purposes when it comes to uninstalling the Python Agent, however, you can additionally remove the Python Agent packages using pip.
pip install appdynamics installed a separate dependencies package as well as the agent, two pip uninstall commands are required:
If you do not know which package is installed, you can find out using pip freeze and grep: