<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Format of Python.path file in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Format-of-Python-path-file/m-p/451442#M8185</link>
    <description>&lt;P&gt;In the search document p222, it is said"&lt;BR /&gt;
you want to use the Python interpreter on your operating system instead of the Python interpreter that is included with the Splunk software.&lt;BR /&gt;
1. Create the following two directories:&lt;BR /&gt;
¨ /usr/bin/python&lt;BR /&gt;
¨ $SPLUNK_HOME/bin/python&lt;BR /&gt;
Create a &lt;STRONG&gt;.path&lt;/STRONG&gt; file. The .path file must be stored in one of the bin&lt;BR /&gt;
directories in your apps.&lt;BR /&gt;
2.&lt;BR /&gt;
In the commands.conf file, define your command by specifying the&lt;BR /&gt;
filename and command.arg.1 attributes. For example:&lt;BR /&gt;
[fizbin]&lt;BR /&gt;
chunked = true&lt;BR /&gt;
filename = &lt;STRONG&gt;python.path&lt;/STRONG&gt;&lt;BR /&gt;
command.arg.1 = fizbin.py"&lt;/P&gt;

&lt;P&gt;So what is the format of the python.path file? I put&lt;BR /&gt;
c:\ProgramData\Anaconda2\python.exe&lt;BR /&gt;
in my python.path and the command get "External search command 'sample1' returned error code 1. "&lt;BR /&gt;
Thanks for help.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jul 2018 04:01:42 GMT</pubDate>
    <dc:creator>dragut</dc:creator>
    <dc:date>2018-07-19T04:01:42Z</dc:date>
    <item>
      <title>Format of Python.path file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Format-of-Python-path-file/m-p/451442#M8185</link>
      <description>&lt;P&gt;In the search document p222, it is said"&lt;BR /&gt;
you want to use the Python interpreter on your operating system instead of the Python interpreter that is included with the Splunk software.&lt;BR /&gt;
1. Create the following two directories:&lt;BR /&gt;
¨ /usr/bin/python&lt;BR /&gt;
¨ $SPLUNK_HOME/bin/python&lt;BR /&gt;
Create a &lt;STRONG&gt;.path&lt;/STRONG&gt; file. The .path file must be stored in one of the bin&lt;BR /&gt;
directories in your apps.&lt;BR /&gt;
2.&lt;BR /&gt;
In the commands.conf file, define your command by specifying the&lt;BR /&gt;
filename and command.arg.1 attributes. For example:&lt;BR /&gt;
[fizbin]&lt;BR /&gt;
chunked = true&lt;BR /&gt;
filename = &lt;STRONG&gt;python.path&lt;/STRONG&gt;&lt;BR /&gt;
command.arg.1 = fizbin.py"&lt;/P&gt;

&lt;P&gt;So what is the format of the python.path file? I put&lt;BR /&gt;
c:\ProgramData\Anaconda2\python.exe&lt;BR /&gt;
in my python.path and the command get "External search command 'sample1' returned error code 1. "&lt;BR /&gt;
Thanks for help.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 04:01:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Format-of-Python-path-file/m-p/451442#M8185</guid>
      <dc:creator>dragut</dc:creator>
      <dc:date>2018-07-19T04:01:42Z</dc:date>
    </item>
  </channel>
</rss>

