When execute python -c “import broccoli” , python give me this error

Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python3.5/dist-packages/”, line 6, in
from broccoli_intern import *
ImportError: No module named 'broccoli_intern

Follow up question for the list, I noticed Rober is using Python 3, is broccoli going to work with that?

Does your system have both Python 2.x and Python 3.x installed?

When using any of the Bro python components, you must use the
same version of Python that was used when building Bro (for example,
if you build Bro with Python 3.5, then you must use Python 3.5 when
running any of the Bro python components).

You could try something like this:
   python3 -c "import broccoli"

If that doesn't work, you could try exporting
the PYTHONPATH environment variable like this:
export PYTHONPATH=PREFIX/lib/broctl

Replace "PREFIX" with your Bro install prefix

Also check that there is a file ""
installed somewhere (it is normally in PREFIX/lib/broctl/).

The most recent release (i.e., Bro 2.5.x) should work with Python3, but
older releases most likely won't work with Python3.