MxGuard pymilter import error on Python 3.6
← back to forum
bug fixed

pymilter import error on Python 3.6

bill@transcom.net (Transcom IS) ยท 2026-04-10 14:22
Scanner crashes on startup with "ImportError: cannot import name 'Milter' from 'pymilter'". System python is 3.6 on Alma 8.10. Tried pip install pymilter==1.0.5 โ†’ fails on lightgbm dep.

Comments (1)

bill@transcom.net (Transcom IS)admin 2026-04-10 17:18
Resolved by pinning lightgbm<4 for the system py3.6 install. lightgbm 4.x dropped py3.6 support. The UI uses a separate py3.9 venv at /opt/mxguard-ui/venv.
Sign in to add a comment.