I'm trying to use Python 2.7.8 Some XML parsing user came with LCLL for SPLank 6 .
>> >> >> >> #. / Pththon some.py tracebacks (most recent call final): File "some.py", line 1, & lt; Module & gt; Imported from Lxml Import Entry: Libexslt.so.0: Can not open the shared object file: There is no such file or directory:Also splunk / lib /
lrwxrwxrwx libexslt.so - & gt; Libexslt.so.0.8.17 lrwxrwxrwx libexslt.so.0 - & gt;
If you want to run some of $ SPLUNK_HOME / bin, you should use the "splunk cmd" command to properly set up the environment: < Class = "post-text" itemprop = "text" blockquote> ./ splunk cmd python some.py
This preferred method is if you want to use a splicing python , And the way a dragon script can be played if it starts from inside Splunk (for example, as a warning script).
No comments:
Post a Comment