This article applies as of PRTG 26
Python packages for the Python installation of PRTG
Note: This does not apply to scripts that you use with the Script v2 sensor.
Requirements
- Full administrator rights on the Windows system
- As of PRTG 22.2.77
How-to guide
- Open a command line or PowerShell with administrator privileges (right-click, "Run as administrator")
- Change the directory to the \python subfolder of the PRTG program directory.
- 32-bit installations:
Command line:
PowerShell:cd “C:\Program Files\PRTG Network Monitor\python\”cd 'C:\Program Files\PRTG Network Monitor\python\' - 64-bit installations:
Command line:
PowerShell:cd “C:\Program Files (x86)\PRTG Network Monitor\python\”cd 'C:\Program Files (x86)\PRTG Network Monitor\python\'
- 32-bit installations:
- Install the Python packages via the following command:
For example:.\python.exe -m pip install <package_name>.\python.exe -m pip install requests