Trying to install netmiko or other modules dependent upon the future module fails with: AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'
Disclaimer: Please note that the following steps are not tested and can have side effects to existing sensors in PRTG. Ensure to keep a current backup in place in case this does not work out.
You can update the python module which is shipped with PRTG, the setuptools and then install modules of your choice using PIP. These are the commands:
- Check if PIP is available:
python -m ensurepip --upgrade
- Update PIP:
python -m pip install --upgrade pip
- Update SetupTools:
python -m pip install --upgrade setuptools
- Install the module of your choice (netmiko in this case):
python -m pip install netmiko
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.