oremanj / python-netfilterqueue

Python bindings for libnetfilter_queue
MIT License
250 stars 96 forks source link

Not Python 3 compatible #9

Closed tagatac closed 8 years ago

tagatac commented 9 years ago

python3 setup.py install runs okay, but importing gives an error:

>>> from netfilterqueue import NetfilterQueue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python3.4/dist-packages/netfilterqueue.cpython-34m.so: undefined symbol: PyString_FromStringAndSize
mattfox commented 8 years ago

python-netfilterqueue works in Python 3 now since https://github.com/kti/python-netfilterqueue/pull/12 was merged into master.