<?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 Re: python version (and libraries) installed with a lightweight forwarder for running Scripted Inputs? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/python-version-and-libraries-installed-with-a-lightweight/m-p/14564#M65</link>
    <description>&lt;P&gt;The exact version varies with the exact version of Splunk, but for Splunk 4.1 thru 4.1.2, the version is 2.6.4. You can expect with later versions that there may be later 2.x Python. You can tell for any version by just running &lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd python --version&lt;/CODE&gt;. I do not know if or when we will include Python 3.0 with Splunk instead, but it is likely that we will be sticking with 2.x for a very long time.&lt;/P&gt;

&lt;P&gt;All Python standard libraries are included. Additionally, you can see what comes with Splunk by looking in &lt;CODE&gt;$SPLUNK_HOME/lib/python2.6/site-packages&lt;/CODE&gt; (&lt;CODE&gt;%SPLUNK_HOME\Python-2.6\Lib\site-packages&lt;/CODE&gt; on Windows. However, it can not be guaranteed that all packages shipped with Splunk will continue to be available in all future versions.&lt;/P&gt;</description>
    <pubDate>Sun, 30 May 2010 07:40:13 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2010-05-30T07:40:13Z</dc:date>
    <item>
      <title>python version (and libraries) installed with a lightweight forwarder for running Scripted Inputs?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/python-version-and-libraries-installed-with-a-lightweight/m-p/14563#M64</link>
      <description>&lt;P&gt;What version of Python is used to run Splunk 4.1.x. scripted inputs?  &lt;/P&gt;

&lt;P&gt;Which Python libraries are available for use in scripted inputs-- and which libraries (of those which I might normally expect to be available) are not available?  &lt;/P&gt;

&lt;P&gt;Which libraries (if any) have been modified by Splunk and so have different behavior than I'd expect from a regular Python distro?&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2010 00:47:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/python-version-and-libraries-installed-with-a-lightweight/m-p/14563#M64</guid>
      <dc:creator>Justin_Grant</dc:creator>
      <dc:date>2010-05-30T00:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: python version (and libraries) installed with a lightweight forwarder for running Scripted Inputs?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/python-version-and-libraries-installed-with-a-lightweight/m-p/14564#M65</link>
      <description>&lt;P&gt;The exact version varies with the exact version of Splunk, but for Splunk 4.1 thru 4.1.2, the version is 2.6.4. You can expect with later versions that there may be later 2.x Python. You can tell for any version by just running &lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd python --version&lt;/CODE&gt;. I do not know if or when we will include Python 3.0 with Splunk instead, but it is likely that we will be sticking with 2.x for a very long time.&lt;/P&gt;

&lt;P&gt;All Python standard libraries are included. Additionally, you can see what comes with Splunk by looking in &lt;CODE&gt;$SPLUNK_HOME/lib/python2.6/site-packages&lt;/CODE&gt; (&lt;CODE&gt;%SPLUNK_HOME\Python-2.6\Lib\site-packages&lt;/CODE&gt; on Windows. However, it can not be guaranteed that all packages shipped with Splunk will continue to be available in all future versions.&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2010 07:40:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/python-version-and-libraries-installed-with-a-lightweight/m-p/14564#M65</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-05-30T07:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: python version (and libraries) installed with a lightweight forwarder for running Scripted Inputs?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/python-version-and-libraries-installed-with-a-lightweight/m-p/14565#M66</link>
      <description>&lt;P&gt;Just FYI.  The full &lt;CODE&gt;distutils&lt;/CODE&gt; are &lt;EM&gt;not&lt;/EM&gt; available out of the box.  This really only matters if you are trying to build python packages.  (I'm a little bit unclear which parts of &lt;CODE&gt;distutils&lt;/CODE&gt; are part of the "standard libraries" and which parts are not, I just know that running &lt;CODE&gt;python setup.py build&lt;/CODE&gt; doesn't work out of the box.)&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2010 22:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/python-version-and-libraries-installed-with-a-lightweight/m-p/14565#M66</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-01T22:02:25Z</dc:date>
    </item>
  </channel>
</rss>

