--- collectors/python.d.plugin/python.d.plugin.in.orig	2022-02-03 22:42:27 UTC
+++ collectors/python.d.plugin/python.d.plugin.in
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 '''':;
-pybinary=$(which python3 || which python || which python2)
+pybinary=%%PYTHON%%
 filtered=()
 for arg in "$@"
 do
