Closed reeshabhranjan closed 2 years ago
This happened when I installed from source.
@reeshabhranjan Please run Python from anywhere other than the python-netfilterqueue
directory. When you're in that directory, import netfilterqueue
locates ./netfilterqueue
rather than /usr/local/lib/python3.8/site-packages/netfilterqueue
. The compiled module is only installed in the latter location.
Alternatively, you can run python3 setup.py build_ext
to build the extension in ./netfilterqueue
also.