can't import lldb in python script

dear sir,

I am trying to run a python script.
I caught a problem about the python script of lldb.

the file is ScriptInterpreterPython.cpp
the line is import copy,…lldb(lineNo:425).
the problem is ImportError:No module named lldb

I searched all the files named lldb.* under llvm/tools/lldb/ and imported the file one by one.
there is still the problem.

so I don’t know how to resolve this problem.

You must set the PYTHONPATH environment variable to include the path to the "lldb.so". See the "Additional Notes" section on:

http://lldb.llvm.org/build.html

That explains how to set the environment variable.