<div dir="ltr">I just clone unbound repo.<br><br>do configure with:<br>```<br>./configure \<br>--build=x86_64-linux-gnu \<br>--prefix=/usr \<br>--includedir=${prefix}/include \<br>--mandir=${prefix}/share/man \<br>--infodir=${prefix}/share/info \<br>--sysconfdir=/etc \<br>--localstatedir=/var \<br>--libdir=${prefix}/lib/x86_64-linux-gnu \<br>--runstatedir=/run \<br>--with-pythonmodule \<br>--with-pyunbound \<br>--enable-subnet \<br>--enable-dnstap \<br>--enable-systemd \<br>--with-chroot-dir= \<br>--with-dnstap-socket-path=/run/dnstap.sock \<br>--with-pidfile=/run/unbound.pid \<br>--with-libevent \<br>--enable-tfo-client \<br>--with-rootkey-file=/usr/share/dns/root.key \<br>--enable-tfo-server<br>```<br><br>make, and make install<br><br>unbound -V, gave me:<br>```<br>Version 1.24.0<br><br>Configure line: --build=x86_64-linux-gnu --prefix=/usr --includedir=/include --mandir=/share/man --infodir=/share/info --sysconfdir=/etc --localstatedir=/var --libdir=/lib/x86_64-linux-gnu --runstatedir=/run --with-pythonmodule --with-pyunbound --enable-subnet --enable-dnstap --enable-systemd --with-chroot-dir= --with-dnstap-socket-path=/run/dnstap.sock --with-pidfile=/run/unbound.pid --with-libevent --enable-tfo-client --with-rootkey-file=/usr/share/dns/root.key --enable-tfo-server<br>Linked libs: libevent 2.1.12-stable (it uses epoll), OpenSSL 3.0.17 1 Jul 2025<br>Linked modules: dns64 python subnetcache respip validator iterator<br>TCP Fastopen feature available<br><br>BSD licensed, see LICENSE in source package for details.<br>Report bugs to <a href="mailto:unbound-bugs@nlnetlabs.nl">unbound-bugs@nlnetlabs.nl</a> or <a href="https://github.com/NLnetLabs/unbound/issues">https://github.com/NLnetLabs/unbound/issues</a><br><br>```<br><br>my unbound.conf lookslike:<br>```<br>server:<br>    # The following line will configure unbound to perform cryptographic<br>    # DNSSEC validation using the root trust anchor.<br>    auto-trust-anchor-file: "/var/lib/unbound/root.key"<br>    module-config: "validator python iterator"<br>    verbosity: 4<br><br>python:<br>    python-script: "/etc/unbound/helloworld.py"<br><br>remote-control:<br>  control-enable: yes<br>  # by default the control interface is is 127.0.0.1 and ::1 and port 8953<br>  # it is possible to use a unix socket too<br>  control-interface: /run/unbound.ctl<br><br>```<br><br>but<br>```<br>```<br><br>gave me:<br>```<br>...<br>[1757845685] unbound[86672:0] notice: init module 1: python<br>Traceback (most recent call last):<br>  File "<string>", line 1, in <module><br>ModuleNotFoundError: No module named 'unboundmodule'<br>[1757845685] unbound[86672:0] error: pythonmod: cannot initialize core module: unboundmodule.py<br>[1757845685] unbound[86672:0] error: module init for module python failed<br>[1757845685] unbound[86672:0] fatal error: failed to init modules<br><br>```<br><br>please tell me how to compile unbound the rightway so ready for python module<br><br>-wowon-<br></div>