Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

"ImportError: No module named os" with Headers Analyzer extension.

Dmitri Stoljarov May 25, 2017 10:20AM UTC


I'm running the latest Burp Suite Pro (1.7.23) on Kali Linux rolling 2017.1.
After installing "Header Analyzer" extension i'm unable to start it. I get an error:

Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named os

at org.python.core.Py.ImportError(
at org.python.core.imp.import_first(
at org.python.core.imp.import_module_level(
at org.python.core.imp.importName(
at org.python.core.ImportFunction.__call__(
at org.python.core.PyObject.__call__(
at org.python.core.__builtin__.__import__(
at org.python.core.imp.importOne(
at org.python.pycode._pyx1.f$0(<string>:1)
at org.python.pycode._pyx1.call_function(<string>)
at org.python.core.Py.runCode(
at org.python.core.Py.exec(
at org.python.util.PythonInterpreter.exec(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at<init>(Unknown Source)
at burp.emc.a(Unknown Source)
at Source)


I have jython version 2.5.3-16 installed on my system.
Jython jar (/usr/share/java/jython.jar) is also loaded in Burp.

Any ideas how to enable this module?


Adam Piper May 31, 2017 06:08AM UTC Support Center agent

Hi Dmitri,

This extension works well with Jython 2.7.0 (standalone) – available from – could you upgrade to see whether this fixes your issue?

Best regards,

DS Jun 05, 2017 06:37PM UTC
Hi Adam,

All works well with standalone Jython 2.7.0


Post Your public answer

Your name
Your email address